2018-03-26 12:02:43 +00:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/src)
|
|
|
|
include_directories(3rdparty/Catch2)
|
|
|
|
|
2018-04-02 19:19:22 +00:00
|
|
|
set(SRC test.cpp)
|
2018-03-26 12:02:43 +00:00
|
|
|
|
2018-03-27 09:03:12 +00:00
|
|
|
add_executable(${PROJECT_NAME}_test ${SRC})
|
|
|
|
|
|
|
|
add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test)
|