Commit ff974fcd authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files
parent e7f401cf
Pipeline #9495 passed with stage
in 47 seconds
......@@ -20,6 +20,7 @@
#
MACRO(DEFINE_TEST NAME)
ADD_UNIT_TEST(${NAME} ${NAME}.cc)
TARGET_INCLUDE_DIRECTORIES(${NAME} PRIVATE ${Boost_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(${NAME} ${PROJECT_NAME})
ENDMACRO(DEFINE_TEST)
......@@ -33,5 +34,6 @@ DEFINE_TEST(timer)
SET(HPP_LOGGINGDIR "${CMAKE_CURRENT_BINARY_DIR}")
CONFIG_FILES(run_debug.sh)
ADD_EXECUTABLE(debug debug.cc)
TARGET_INCLUDE_DIRECTORIES(debug PRIVATE ${Boost_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(debug ${PROJECT_NAME})
ADD_TEST(NAME debug COMMAND ${RUNTIME_OUTPUT_DIRECTORY}/run_debug.sh)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment