2018-01-06 02:46:58 +08:00
|
|
|
#header-only library
|
|
|
|
include(vcpkg_common_functions)
|
2018-02-24 14:20:39 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Taywee/args
|
2018-05-18 08:35:11 +08:00
|
|
|
REF bd0429e91f5bb140271870d5421e412bf78b9f31
|
|
|
|
SHA512 585314e572b97d9b1689f71617f33562da46652141f094a3845eeace7acedc8560e010e5b7fb7afa4ff2dc37a62724445f5c8650c0c6270d42c4b5fd271a5e76
|
2018-02-24 14:20:39 +08:00
|
|
|
HEAD_REF master
|
2018-01-06 02:46:58 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# Put the licence file where vcpkg expects it
|
|
|
|
file(COPY ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/args)
|
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/args/license ${CURRENT_PACKAGES_DIR}/share/args/copyright)
|
|
|
|
|
|
|
|
# Copy the args header files
|
2018-02-24 14:20:39 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/ DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*.hxx")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/examples ${CURRENT_PACKAGES_DIR}/include/test)
|
2018-01-06 02:46:58 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|