early-access version 2853
This commit is contained in:
28
externals/vcpkg/ports/bitserializer/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/bitserializer/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_from_bitbucket(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Pavel_Kisliak/BitSerializer
|
||||
REF 0.44
|
||||
SHA512 0629acc93807254bd51d9eed761a92be4780d01604a9ae4bf8a933af70fdb206ea9b4f4db3489805b4163f5071246529ea22f8b3e7fbcd77ed936c3ab24697b2
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
"cpprestjson-archive" BUILD_CPPRESTJSON_ARCHIVE
|
||||
"rapidjson-archive" BUILD_RAPIDJSON_ARCHIVE
|
||||
"pugixml-archive" BUILD_PUGIXML_ARCHIVE
|
||||
"rapidyaml-archive" BUILD_RAPIDYAML_ARCHIVE
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/bitserializer)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
47
externals/vcpkg/ports/bitserializer/vcpkg.json
vendored
Executable file
47
externals/vcpkg/ports/bitserializer/vcpkg.json
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "bitserializer",
|
||||
"version": "0.44",
|
||||
"port-version": 1,
|
||||
"description": "C++ 17 library for serialization to JSON, XML, YAML",
|
||||
"homepage": "https://bitbucket.org/Pavel_Kisliak/bitserializer",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"cpprestjson-archive": {
|
||||
"description": "Module for support JSON (implementation based on the CppRestSDK library)",
|
||||
"dependencies": [
|
||||
"cpprestsdk"
|
||||
]
|
||||
},
|
||||
"pugixml-archive": {
|
||||
"description": "Module for support XML (implementation based on the PugiXml library)",
|
||||
"dependencies": [
|
||||
"pugixml"
|
||||
]
|
||||
},
|
||||
"rapidjson-archive": {
|
||||
"description": "Module for support JSON (implementation based on the RapidJson library)",
|
||||
"dependencies": [
|
||||
"rapidjson"
|
||||
]
|
||||
},
|
||||
"rapidyaml-archive": {
|
||||
"description": "Module for support YAML (implementation based on the RapidYaml library)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "ryml",
|
||||
"platform": "!osx"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user