catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add vcpkg installation instructions (#1898)
- Commit
46cc551b7a98a7992c80fc1c3b38b5de29d7c431- Author
- Phoebe ·
- Committer
- Martin Hořeňovský
- Parents
f34aacfe5fa7
Changes
docs/cmake-integration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/cmake-integration.md b/docs/cmake-integration.md index 6ae798db..4bbc3f9d 100644 --- a/docs/cmake-integration.md +++ b/docs/cmake-integration.md @@ -6,6 +6,7 @@ [Automatic test registration](#automatic-test-registration)<br> [CMake project options](#cmake-project-options)<br> [Installing Catch2 from git repository](#installing-catch2-from-git-repository)<br> +[Installing Catch2 from vcpkg](#installing-catch2-from-vcpkg)<br> Because we use CMake to build Catch2, we also provide a couple of integration points for our users. @@ -220,6 +221,19 @@ when configuring the build, and then modify your calls to [find_package](https://cmake.org/cmake/help/latest/command/find_package.html) accordingly. +## Installing Catch2 from vcpkg + +Alternatively, you can build and install Catch2 using [vcpkg](https://github.com/microsoft/vcpkg/) dependency manager: +``` +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh +./vcpkg integrate install +./vcpkg install catch2 +``` + +The catch2 port in vcpkg is kept up to date by microsoft team members and community contributors. +If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. ---