nameof_module/test/CMakeLists.txt
2018-03-27 18:16:48 +05:00

11 lines
No EOL
287 B
CMake

include_directories(${CMAKE_SOURCE_DIR}/src)
include_directories(3rdparty/Catch2)
set(SRC
test.cpp
3rdparty/Catch2/catch.hpp
${CMAKE_SOURCE_DIR}/src/nameof.hpp)
add_executable(${PROJECT_NAME}_test ${SRC})
add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test)