osrm-backend/third_party/protozero/test/unit/CMakeLists.txt

26 lines
650 B
CMake
Raw Permalink Normal View History

#-----------------------------------------------------------------------------
#
# CMake config
#
# protozero unit tests
#
#-----------------------------------------------------------------------------
set(UNIT_TESTS data_view
basic
2020-10-16 03:25:52 -04:00
buffer
endian
exceptions
2020-10-16 03:25:52 -04:00
iterators
varint
zigzag)
string(REGEX REPLACE "([^;]+)" "test_\\1.cpp" _test_sources "${UNIT_TESTS}")
add_executable(unit_tests main.cpp ${_test_sources})
add_test(NAME unit_tests COMMAND unit_tests)
#-----------------------------------------------------------------------------