MyCurry/test/unit/CMakeLists.txt

28 lines
587 B
CMake

project(mycurry_unit_test CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(${PROJECT_NAME}
main.cpp
)
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 ${MYCURRY_SOURCE_DIR}
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}
)