clooneljump/test/unit/CMakeLists.txt
King_DuckZ 10f830809b Add unit test for the deferred virtual call implementation in SizeNotifiable.
Fix the build as necessary.
Change DeferredRegister() to take no construction parameters.
2016-11-14 00:29:49 +01:00

21 lines
400 B
CMake

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}
)