vcpkg/ports/doctest/portfile.cmake

16 lines
551 B
CMake
Raw Normal View History

2016-10-27 03:22:15 +08:00
#header-only library
2016-09-22 14:02:02 +08:00
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO onqtam/doctest
2018-05-18 08:35:11 +08:00
REF 1.2.9
SHA512 9500570fb0ef7b06799fbe92b8f96eacf16eba630abe4f67a235901995192e31fafb812704f327f0a2582c8fe61c3bb458d2eaf3c4287f24c1ffbc04c46a2471
HEAD_REF master
2016-09-22 14:02:02 +08:00
)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/doctest RENAME copyright)
2016-09-22 14:02:02 +08:00
# Copy header file
file(INSTALL ${SOURCE_PATH}/doctest/doctest.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/doctest)