vectorwrapper/test/unit/CMakeLists.txt

32 lines
549 B
Text
Raw Normal View History

2015-07-23 23:10:03 +02:00
project(unit CXX)
add_executable(${PROJECT_NAME}
${GTEST_MAIN_CPP}
test_conversions.cpp
test_ops.cpp
example.cpp
test_get_at.cpp
test_operators.cpp
test_sequence_range.cpp
test_offset_getters.cpp
test_custom_type.cpp
2020-05-04 03:54:15 +02:00
test_min_max.cpp
test_c_array.cpp
2015-07-23 23:10:03 +02:00
)
target_link_libraries(${PROJECT_NAME}
gtest
vwr::vectorwrapper
2015-07-23 23:10:03 +02:00
)
target_compile_definitions(${PROJECT_NAME}
PRIVATE VWR_WITH_IMPLICIT_CONVERSIONS
PRIVATE VWR_EXTRA_ACCESSORS
)
2016-11-02 01:14:47 +01:00
add_test(
NAME TestNormal
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${PROJECT_NAME}
)