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-09-18 17:28:21 +08:00
REF 2.0.0
SHA512 ad167201fa10890e868fab628d73588e66470fbf6d5bdf0cd4e4ce13510f0727411fa709eb748eb1b5de19307c75d2efbcd71cb678e3ef1d0632056d7af2f012
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)