diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2016-09-22 11:28:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-22 11:28:05 -0700 |
| commit | 80d378585cdd9314124cae80fc5340c29e210e4e (patch) | |
| tree | f0f0dc8e332c7000eb375692a14d7d834b7d6cc5 | |
| parent | 751661a11a9700ad42e4279343b0b84797e2e987 (diff) | |
| parent | 157597419942e4fe73e0d94c8fac95016032eace (diff) | |
| download | vcpkg-80d378585cdd9314124cae80fc5340c29e210e4e.tar.gz vcpkg-80d378585cdd9314124cae80fc5340c29e210e4e.zip | |
Merge pull request #67 from albertfong/doctest
Add doctest 1.1.0
| -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) |
