2015-07-23 21:10:03 +00:00
|
|
|
project(unit CXX)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
|
|
${GTEST_MAIN_CPP}
|
|
|
|
test_conversions.cpp
|
2015-07-25 17:41:16 +00:00
|
|
|
test_ops.cpp
|
2015-07-25 18:55:52 +00:00
|
|
|
example.cpp
|
2016-10-24 23:18:44 +00:00
|
|
|
test_get_at.cpp
|
2016-11-08 00:51:17 +00:00
|
|
|
test_operators.cpp
|
2017-07-26 20:16:19 +00:00
|
|
|
test_sequence_range.cpp
|
2015-07-23 21:10:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
|
|
gtest
|
|
|
|
)
|
2016-11-02 00:12:00 +00:00
|
|
|
|
|
|
|
target_compile_definitions(${PROJECT_NAME}
|
|
|
|
PRIVATE VWR_WITH_IMPLICIT_CONVERSIONS
|
2017-01-27 19:24:27 +00:00
|
|
|
PRIVATE VWR_EXTRA_ACCESSORS
|
2016-11-02 00:12:00 +00:00
|
|
|
)
|
2016-11-02 00:14:47 +00:00
|
|
|
|
|
|
|
add_test(
|
|
|
|
NAME TestNormal
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
COMMAND ${PROJECT_NAME}
|
|
|
|
)
|