early-access version 2853
This commit is contained in:
30
externals/vcpkg/ports/status-value-lite/portfile.cmake
vendored
Executable file
30
externals/vcpkg/ports/status-value-lite/portfile.cmake
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO martinmoene/status-value-lite
|
||||
REF v1.1.0
|
||||
SHA512 09cad9f40f2b1592316b374e0d1a206e3a79a1c560a2ae3be3bdae9045fa026435cc29f1eee08e26e29a5499f8dc60e485adc50517a827977678d3a5a6e220d2
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
test BUILD_TESTS
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DNSSV_OPT_BUILD_TESTS=${BUILD_TESTS}
|
||||
-DNSSV_OPT_BUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/status_value-lite)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
# Handle copyright
|
||||
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
12
externals/vcpkg/ports/status-value-lite/vcpkg.json
vendored
Executable file
12
externals/vcpkg/ports/status-value-lite/vcpkg.json
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "status-value-lite",
|
||||
"version-string": "1.1.0",
|
||||
"port-version": 1,
|
||||
"description": "status_value is a single-file header-only library for objects that represent a status and an optional value. It is intended for use with C++11 and later.",
|
||||
"homepage": "https://github.com/martinmoene/status-value-lite",
|
||||
"features": {
|
||||
"test": {
|
||||
"description": "Build with test"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user