OpenRTX/subprojects/catch2.wrap
Ryan Turner 67dc4d9436 build: add Catch2 subproject
Add the catch2 subproject wrap file and its REUSE license entry. Declare
the catch2-with-main dependency for native/linux builds only. Wrap the
unit test section in a cross-build guard so that test targets are not
declared when cross-compiling for embedded targets. Install catch2 via
apt in CI.

Co-authored-by: GitHub Copilot <copilot@github.com>
Signed-off-by: Ryan Turner <ryan@turnrye.com>
2026-03-04 08:10:40 +01:00

7 lines
146 B
Text

[wrap-git]
url = https://github.com/catchorg/Catch2.git
revision = v3.13.0
[provide]
catch2 = catch2_dep
catch2-with-main = catch2_with_main_dep