diff options
| author | Ninetainedo <ninetainedo@gmail.com> | 2016-09-22 22:15:14 +0200 |
|---|---|---|
| committer | Ninetainedo <ninetainedo@gmail.com> | 2016-09-22 22:15:14 +0200 |
| commit | cbd2f0ec0f7312df2c0da9f3a64e5ae988159d37 (patch) | |
| tree | 8682ccb7258a3f831b645049fb891cfd3bea82f7 /ports/doctest | |
| parent | fc2608399580639f54da9e01af6ce7e161e35475 (diff) | |
| parent | db3713779cc0aa0e9d80fa0d4e2bd4b3e0c4eaf0 (diff) | |
| download | vcpkg-cbd2f0ec0f7312df2c0da9f3a64e5ae988159d37.tar.gz vcpkg-cbd2f0ec0f7312df2c0da9f3a64e5ae988159d37.zip | |
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into Use-SHA512-instead-of-MD5
Diffstat (limited to 'ports/doctest')
| -rw-r--r-- | ports/doctest/CONTROL | 3 | ||||
| -rw-r--r-- | ports/doctest/portfile.cmake | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ports/doctest/CONTROL b/ports/doctest/CONTROL new file mode 100644 index 000000000..df41ef19f --- /dev/null +++ b/ports/doctest/CONTROL @@ -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 diff --git a/ports/doctest/portfile.cmake b/ports/doctest/portfile.cmake new file mode 100644 index 000000000..82a84eff9 --- /dev/null +++ b/ports/doctest/portfile.cmake @@ -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) |
