| 1 |
catch2 (3.4.0-2) unstable; urgency=medium |
| 2 |
|
| 3 |
Catch2 v3 brings significant changes from v2. Is not a (single) header-only |
| 4 |
test tool anymore and requires linking against a library. As such the |
| 5 |
binary package has been renamed libcatch2-dev with a transitional catch2 |
| 6 |
package that can be safely removed. |
| 7 |
|
| 8 |
A note on migration from v2 to v3 is provided by upstream in the package docs [1]. |
| 9 |
The gist of it is: |
| 10 |
- Change "pkg-config catch2" to "pkg-config catch2-with-main" |
| 11 |
- Link against Catch2WithMain. |
| 12 |
- Change <catch2/catch.hpp> to <catch2/catch_all.hpp> |
| 13 |
|
| 14 |
[1] /usr/share/doc/libcatch2-dev/docs/migrate-v2-to-v3.md.gz |
| 15 |
|
| 16 |
-- Mathieu Mirmont <[email protected]> Sun, 19 Nov 2023 21:45:35 +0100 |