netgen icon indicating copy to clipboard operation
netgen copied to clipboard

support Catch2 v3

Open drew-parsons opened this issue 1 year ago • 0 comments

  • uses Cmake config files for Catch2
  • supports both v2 and v3 of Catch2
  • Catch2 v3 includes <catch2/catch_all.hpp> instead of <catch2/catch.hpp>
  • v3 moves Catch::Contains to Catch::Matchers::ContainsSubstring

see https://github.com/catchorg/Catch2/blob/devel/docs/migrate-v2-to-v3.md

Patch adapted from debian patch catch2_v3.patch https://salsa.debian.org/science-team/netgen/-/blob/d7ca1c564d90d00ce3d83e0b63c36fbec11cf1ce/debian/patches/catch2_v3.patch

drew-parsons avatar Jan 05 '25 11:01 drew-parsons