[bitserializer-pugixml] Add new port (#11241)

Co-authored-by: Pavel_Kisliak <Pavel_Kisliak@epam.com>
This commit is contained in:
Pavel Kisliak 2020-05-09 00:36:35 +03:00 committed by GitHub
parent 687a2b9b89
commit 547e1de72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Source: bitserializer-pugixml
Version: 0.9
Build-Depends: bitserializer, pugixml
Description: C++ 17 library for serialization, module for support XML (implementation based on the PugiXml library)
Homepage: https://bitbucket.org/Pavel_Kisliak/bitserializer

View File

@ -0,0 +1,19 @@
vcpkg_from_bitbucket(
OUT_SOURCE_PATH SOURCE_PATH
REPO Pavel_Kisliak/BitSerializer
REF 0.9
SHA512 74515a1a8338935c52752200d96abc0c0ee2c2b0b42880b1d10c8f56b5f8eb30680bd96b64eb2b352764128ad6a1fcd59749f481883c48a06230d652bee05902
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/archives/bitserializer_pugixml
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/bitserializer-pugixml/cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bitserializer-pugixml RENAME copyright)