b372dc6157
Merge commit 'ba06a404d1437c73ed3ba100d04a217fa69545b8'
16 lines
295 B
CMake
16 lines
295 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(discover-tests-test
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
add_executable(tests
|
|
register-tests.cpp
|
|
)
|
|
|
|
add_subdirectory(${CATCH2_PATH} catch2-build)
|
|
target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
|
|
|
|
include(CTest)
|
|
include(Catch)
|
|
catch_discover_tests(tests)
|