floatpump-firmware/Tests/CMakeLists.txt

10 lines
288 B
CMake

# Catch 2 is already loaded from the main CMakeLists.txt as a subdirectory
add_executable(testtests experiments/example-test.cpp)
target_link_libraries(testtests PRIVATE Catch2::Catch2WithMain)
# General catch configuration
include(CTest)
include(Catch)
catch_discover_tests(testtests)