nameof_module/test/CMakeLists.txt

11 lines
287 B
Text
Raw Normal View History

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