King_DuckZ
10f830809b
Fix the build as necessary. Change DeferredRegister() to take no construction parameters.
21 lines
400 B
CMake
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}
|
|
)
|