early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/args/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/args/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
#header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Taywee/args
|
||||
REF 6.3.0
|
||||
SHA512 7d554719781d5a096883e37cd5c1706782d06c2c4d7a9598142aec7f2e38d63438e82960b60a705baeb2aa5d31143c83fa6c0d1331a36b16f564a5ea56ad451d
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DARGS_BUILD_UNITTESTS=OFF
|
||||
-DARGS_BUILD_EXAMPLE=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
17
externals/vcpkg/ports/args/vcpkg.json
vendored
Executable file
17
externals/vcpkg/ports/args/vcpkg.json
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "args",
|
||||
"version": "6.3.0",
|
||||
"description": "A simple header-only C++ argument parser library.",
|
||||
"homepage": "https://github.com/Taywee/args",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user