mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 04:29:01 +08:00
e1c8bbd3c6
* [BitSerializer] Update to version 0.9 * [bitserializer] Update port to new version 0.44 * [bitserializer] Update deprecated VCPKG Cmake functions * [bitserializer] Remove default features list Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
30 lines
989 B
CMake
30 lines
989 B
CMake
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}
|
|
PREFER_NINJA
|
|
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)
|