mirror of https://github.com/microsoft/vcpkg.git
[kcenon-common-system] new port (#51511)
Co-authored-by: Billy O'Neal <bion@microsoft.com>
This commit is contained in:
parent
1f4af5fe2a
commit
aea9a89b93
|
|
@ -0,0 +1,36 @@
|
|||
set(VCPKG_BUILD_TYPE release) # header only
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO kcenon/common_system
|
||||
REF "v${VERSION}"
|
||||
SHA512 ac458878395dbac632aa56a188f49d0c996e9334b67914d1e9a095d8f2bf45ea988232e31259758b595deb3374f833edfd91948a71a042f401a3db222600758c
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
yaml BUILD_WITH_YAML_CPP
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCOMMON_BUILD_TESTS=OFF
|
||||
-DCOMMON_BUILD_INTEGRATION_TESTS=OFF
|
||||
-DCOMMON_BUILD_EXAMPLES=OFF
|
||||
-DCOMMON_BUILD_BENCHMARKS=OFF
|
||||
-DCOMMON_BUILD_DOCS=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME common_system
|
||||
CONFIG_PATH lib/cmake/common_system
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") # empty directory
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "kcenon-common-system",
|
||||
"version-semver": "0.2.0",
|
||||
"description": "High-performance C++20 foundation library providing Result<T> pattern, interfaces, and common utilities",
|
||||
"homepage": "https://github.com/kcenon/common_system",
|
||||
"license": "BSD-3-Clause",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"yaml": {
|
||||
"description": "YAML configuration file support via yaml-cpp",
|
||||
"dependencies": [
|
||||
"yaml-cpp"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4224,6 +4224,10 @@
|
|||
"baseline": "6.25.0",
|
||||
"port-version": 1
|
||||
},
|
||||
"kcenon-common-system": {
|
||||
"baseline": "0.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kcodecs": {
|
||||
"baseline": "6.25.0",
|
||||
"port-version": 1
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f93c1bb8b798d41694ad7b26f583e4b71139f990",
|
||||
"version-semver": "0.2.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue