diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-01-18 04:21:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-18 04:21:18 -0800 |
| commit | b4c041df93663f1abc82d0cfb79420fc02d4546e (patch) | |
| tree | a7fc8f71d377a8471dbf979422573bc192630513 | |
| parent | 1b5ec0bc10b19563dc662c6480fd007cbc51c59f (diff) | |
| parent | 381263aaa0c49b66c8253d2ab0700d3bca6b0d7a (diff) | |
| download | vcpkg-b4c041df93663f1abc82d0cfb79420fc02d4546e.tar.gz vcpkg-b4c041df93663f1abc82d0cfb79420fc02d4546e.zip | |
Merge pull request #2554 from horenmar/Introduce-Catch-Classic
Introduce catch classic
| -rw-r--r-- | ports/catch-classic/CONTROL | 5 | ||||
| -rw-r--r-- | ports/catch-classic/portfile.cmake | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ports/catch-classic/CONTROL b/ports/catch-classic/CONTROL new file mode 100644 index 000000000..488366f3e --- /dev/null +++ b/ports/catch-classic/CONTROL @@ -0,0 +1,5 @@ +Source: catch-classic +Version: 1.12.0 +Description: A modern, header-only test framework for unit tests + This is specifically the legacy 1.x branch provided for compatibility + with older compilers. diff --git a/ports/catch-classic/portfile.cmake b/ports/catch-classic/portfile.cmake new file mode 100644 index 000000000..5334ab503 --- /dev/null +++ b/ports/catch-classic/portfile.cmake @@ -0,0 +1,18 @@ +include(vcpkg_common_functions) + +set(CATCH_VERSION v1.12.0) + +vcpkg_download_distfile(HEADER + URLS "https://github.com/catchorg/Catch2/releases/download/${CATCH_VERSION}/catch.hpp" + FILENAME "catch-classic-${CATCH_VERSION}.hpp" + SHA512 0334993982a4543a42b301b77622dbc7df9e9c53dfe4e49a7b32cafea59f999e057777e94e719ecc0aafebc02fa937243d7ea6301be086a2dbd9f52b0d61d807 +) + +vcpkg_download_distfile(LICENSE + URLS "https://raw.githubusercontent.com/catchorg/Catch2/${CATCH_VERSION}/LICENSE.txt" + FILENAME "catch-classic-LICENSE-${CATCH_VERSION}.txt" + SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 +) + +file(INSTALL ${HEADER} DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME catch.hpp) +file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/catch-classic RENAME copyright) |
