clooneljump/test/unit/CMakeLists.txt

22 lines
400 B
Text
Raw Normal View History

project(clooneltest CXX)
add_executable(${PROJECT_NAME}
main.cpp
deferred_virtual_call.cpp
)
target_include_directories(${PROJECT_NAME}
PRIVATE ${CLOONEL_SRC_DIR}/lib/catch/single_include
PRIVATE ${CLOONEL_SRC_DIR}/src/jumping
)
target_link_libraries(${PROJECT_NAME}
PRIVATE jumping
)
add_test(
NAME CloonelJumpTest
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${PROJECT_NAME}
)