early-access version 2853
This commit is contained in:
25
externals/vcpkg/ports/cxxopts/portfile.cmake
vendored
Executable file
25
externals/vcpkg/ports/cxxopts/portfile.cmake
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jarro2783/cxxopts
|
||||
REF v3.0.0
|
||||
SHA512 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCXXOPTS_BUILD_EXAMPLES=OFF
|
||||
-DCXXOPTS_BUILD_TESTS=OFF
|
||||
-DCXXOPTS_ENABLE_WARNINGS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cxxopts)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/cxxopts" RENAME copyright)
|
||||
16
externals/vcpkg/ports/cxxopts/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/cxxopts/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "cxxopts",
|
||||
"version-semver": "3.0.0",
|
||||
"description": "This is a lightweight C++ option parser library, supporting the standard GNU style syntax for options",
|
||||
"homepage": "https://github.com/jarro2783/cxxopts",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user