mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Add doctest 1.1.0
This commit is contained in:
parent
869a3b22ad
commit
1575974199
3
ports/doctest/CONTROL
Normal file
3
ports/doctest/CONTROL
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Source: doctest
|
||||||
|
Version: 1.1.0
|
||||||
|
Description: The lightest feature-rich C++ single-header testing framework for unit tests and TDD
|
13
ports/doctest/portfile.cmake
Normal file
13
ports/doctest/portfile.cmake
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
include(vcpkg_common_functions)
|
||||||
|
vcpkg_download_distfile(ARCHIVE
|
||||||
|
URL "https://github.com/onqtam/doctest/archive/1.1.0.zip"
|
||||||
|
FILENAME "doctest-1.1.0.zip"
|
||||||
|
MD5 4aee74025b34b4a00a253b6262bdeeb1
|
||||||
|
)
|
||||||
|
vcpkg_extract_source_archive(${ARCHIVE})
|
||||||
|
|
||||||
|
# Handle copyright
|
||||||
|
file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/doctest-1.1.0/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/doctest RENAME copyright)
|
||||||
|
|
||||||
|
# Copy header file
|
||||||
|
file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/doctest-1.1.0/doctest/doctest.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/doctest)
|
Loading…
x
Reference in New Issue
Block a user