vcpkg/ports/tinyxml2/portfile.cmake

23 lines
613 B
CMake
Raw Normal View History

2017-06-21 06:20:52 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO leethomason/tinyxml2
REF 9.0.0
SHA512 9C5CE8131984690DF302CA3E32314573B137180ED522C92FD631692979C942372A28F697FDB3D5E56BCF2D3DC596262B724D088153F3E1D721C9536F2A883367
2017-06-21 06:20:52 +08:00
HEAD_REF master
2016-09-19 11:50:08 +08:00
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2016-09-19 11:50:08 +08:00
)
vcpkg_cmake_install()
2016-09-19 11:50:08 +08:00
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/tinyxml2)
vcpkg_fixup_pkgconfig()
2017-06-21 06:20:52 +08:00
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2017-06-21 06:20:52 +08:00
file(INSTALL "${SOURCE_PATH}/readme.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)