9 lines
309 B
Text
9 lines
309 B
Text
|
|
include (CTest)
|
||
|
|
include (Catch)
|
||
|
|
|
||
|
|
file(GLOB_RECURSE SRCS src/**.cc src/**.c)
|
||
|
|
|
||
|
|
add_executable(fishbone_test ${SRCS})
|
||
|
|
target_link_libraries(fishbone_test PRIVATE fishbone Catch2::Catch2WithMain)
|
||
|
|
target_include_directories(fishbone_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||
|
|
catch_discover_tests(fishbone_test)
|