|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_library(Catch INTERFACE) |
|
|
|
|
|
target_include_directories(Catch INTERFACE "catch") |
|
|
|
|
|
|
|
|
find_package(Catch2 REQUIRED) |
|
|
|
|
|
|
|
|
add_library(Trompeloeil INTERFACE) |
|
|
add_library(Trompeloeil INTERFACE) |
|
|
target_include_directories(Trompeloeil INTERFACE "trompeloeil") |
|
|
target_include_directories(Trompeloeil INTERFACE "trompeloeil") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_library(TestMain TestMain.cpp) |
|
|
add_library(TestMain TestMain.cpp) |
|
|
target_link_libraries(TestMain PUBLIC Catch Trompeloeil) |
|
|
|
|
|
|
|
|
target_link_libraries(TestMain PUBLIC Catch2::Catch2 Trompeloeil) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function(add_test_suite name) |
|
|
function(add_test_suite name) |