2016-09-18 20:50:08 -07:00
|
|
|
include(vcpkg_common_functions)
|
2016-09-28 17:05:56 -07:00
|
|
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/Range-V3-VS2015-ede9ad367fd5ec764fecb039c874614bd908e6b6)
|
2016-09-18 20:50:08 -07:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2016-09-25 00:23:04 +02:00
|
|
|
URLS "https://github.com/Microsoft/Range-V3-VS2015/archive/ede9ad367fd5ec764fecb039c874614bd908e6b6.zip"
|
2016-09-18 20:50:08 -07:00
|
|
|
FILENAME "range-v3-ede9ad367fd5ec764fecb039c874614bd908e6b6.zip"
|
2016-09-22 22:13:09 +02:00
|
|
|
SHA512 e978c7694471d8616c248647b77689f377b3e2517347abde8629b140e5994de8bf686565a24cdd7dd222f325d43b775f5e478c91220dce75313985499b134637
|
2016-09-18 20:50:08 -07:00
|
|
|
)
|
|
|
|
vcpkg_extract_source_archive(${ARCHIVE})
|
|
|
|
|
2016-09-28 17:05:56 -07:00
|
|
|
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/range-v3)
|
2016-09-18 20:50:08 -07:00
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/range-v3/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/range-v3/copyright)
|
2016-09-28 17:05:56 -07:00
|
|
|
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
|
2016-09-18 20:50:08 -07:00
|
|
|
vcpkg_copy_pdbs()
|