diff options
| author | Petr Kubánek | 2022-05-24 10:07:17 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-06-05 15:58:41 +0200 |
| commit | 0c13d021da4ff937a33279207fb57e000781d86c (patch) | |
| tree | 972f655a95c7a96479600a17e4f71a2e0ba13f08 /docs | |
| parent | 3644b4135d2f4ec37fe6858dfc03b6273b0948ef (diff) | |
| download | catch3-0c13d021da4ff937a33279207fb57e000781d86c.tar.gz | |
Update documentation - add pkg-config examples.
Use -std=c++14 (instead of c++11). Pointers how to integrate with
pkg-config for non-CMake projects.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/migrate-v2-to-v3.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/migrate-v2-to-v3.md b/docs/migrate-v2-to-v3.md index 41c4d470..388af973 100644 --- a/docs/migrate-v2-to-v3.md +++ b/docs/migrate-v2-to-v3.md @@ -50,7 +50,8 @@ compilation times in the v3 version. The basic steps to do so are: 1. Change your CMakeLists.txt to link against `Catch2WithMain` target if you use Catch2's default main. (If you do not, keep linking against -the `Catch2` target.) +the `Catch2` target.). If you use pkg-config, change `pkg-config catch2` to +`pkg-config catch2-with-main`. 2. Delete TU with `CATCH_CONFIG_RUNNER` or `CATCH_CONFIG_MAIN` defined, as it is no longer needed. 3. Change `#include <catch2/catch.hpp>` to `#include <catch2/catch_all.hpp>` |