project(mycurry_unit_test CXX) add_executable(${PROJECT_NAME} main.cpp grid_raytrace.cpp ) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) target_compile_definitions(${PROJECT_NAME} PRIVATE VWR_WITH_IMPLICIT_CONVERSIONS=1 PRIVATE VWR_EXTRA_ACCESSORS ) target_include_directories(${PROJECT_NAME} PRIVATE ${CATCH_SOURCE_DIR}/single_include PRIVATE ${CMAKE_SOURCE_DIR}/src/gamelib PRIVATE ${CMAKE_SOURCE_DIR}/lib/vectorwrapper/include PRIVATE ${CMAKE_SOURCE_DIR}/lib/tree-2.81/src ) add_test( NAME CloonelJumpTest WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${PROJECT_NAME} ) target_link_libraries(${PROJECT_NAME} PRIVATE mycurry_gamelib )