| [requires] | [requires] | ||||
| Catch2/2.8.0@catchorg/stable | Catch2/2.8.0@catchorg/stable | ||||
| trompeloeil/v34@rollbear/stable | |||||
| [generators] | [generators] | ||||
| cmake_find_package | cmake_find_package | ||||
| cmake_paths | cmake_paths | ||||
| find_package(Catch2 REQUIRED) | find_package(Catch2 REQUIRED) | ||||
| add_library(Trompeloeil INTERFACE) | |||||
| target_include_directories(Trompeloeil INTERFACE "trompeloeil") | |||||
| find_package(trompeloeil REQUIRED) | |||||
| add_library(TestMain TestMain.cpp) | add_library(TestMain TestMain.cpp) | ||||
| target_link_libraries(TestMain PUBLIC Catch2::Catch2 Trompeloeil) | |||||
| target_link_libraries(TestMain PUBLIC Catch2::Catch2 trompeloeil::trompeloeil) | |||||
| function(add_test_suite name) | function(add_test_suite name) |