2021-04-10 22:21:54 +02:00
|
|
|
project(linklist-lib-test)
|
2021-04-10 20:52:09 +02:00
|
|
|
|
|
|
|
add_custom_target(test "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" "-r compact" "-s" DEPENDS ${PROJECT_NAME})
|
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/catch-framework")
|
|
|
|
aux_source_directory("src" TEST_SOURCES)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${TEST_SOURCES})
|
2021-04-10 22:21:54 +02:00
|
|
|
target_link_libraries(${PROJECT_NAME} linklist-lib)
|
2021-04-10 20:52:09 +02:00
|
|
|
|