2016-10-27 10:33:50 +08:00
|
|
|
#header-only library
|
2020-06-27 06:06:30 +08:00
|
|
|
vcpkg_from_sourceforge(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO rapidxml/rapidxml
|
|
|
|
REF rapidxml%201.13
|
2016-09-21 07:46:35 +08:00
|
|
|
FILENAME "rapidxml-1.13.zip"
|
2016-09-23 04:13:09 +08:00
|
|
|
SHA512 6c10583e6631ccdb0217d0a5381172cb4c1046226de6ef1acf398d85e81d145228e14c3016aefcd7b70a1db8631505b048d8b4f5d4b0dbf1811d2482eefdd265
|
2016-09-21 07:46:35 +08:00
|
|
|
)
|
2019-10-08 01:35:13 +08:00
|
|
|
|
2016-09-21 07:46:35 +08:00
|
|
|
# Handle copyright
|
2016-09-29 08:05:56 +08:00
|
|
|
file(COPY ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/rapidxml)
|
2016-09-21 07:46:35 +08:00
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/rapidxml/license.txt ${CURRENT_PACKAGES_DIR}/share/rapidxml/copyright)
|
|
|
|
|
|
|
|
# Copy the header files
|
2019-03-19 12:18:02 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/rapidxml FILES_MATCHING PATTERN "*.hpp")
|