2016-11-11 19:37:35 +00:00
|
|
|
project(clooneltest CXX)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
|
|
main.cpp
|
2016-11-13 23:29:49 +00:00
|
|
|
deferred_virtual_call.cpp
|
2016-11-11 19:37:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
2016-11-11 20:18:39 +00:00
|
|
|
PRIVATE ${CLOONEL_SRC_DIR}/lib/catch/single_include
|
|
|
|
PRIVATE ${CLOONEL_SRC_DIR}/src/jumping
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
|
|
PRIVATE jumping
|
2016-11-11 19:37:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_test(
|
|
|
|
NAME CloonelJumpTest
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
COMMAND ${PROJECT_NAME}
|
|
|
|
)
|