Geometry/tests/CMakeLists.txt
2024-01-01 15:23:51 +01:00

13 lines
348 B
CMake

FetchContent_Declare(
doctest
GIT_REPOSITORY https://github.com/doctest/doctest.git
GIT_TAG v2.4.11)
FetchContent_MakeAvailable(doctest)
set(TESTFILES "dummytest.cpp")
add_executable(testlib test_utils.cpp "${TESTFILES}")
target_link_libraries(testlib PRIVATE Geometry doctest)
add_test(NAME testlibtest COMMAND testlib)