osrm-backend/third_party/protozero/test/unit/CMakeLists.txt
2020-10-16 10:28:48 +03:00

26 lines
650 B
CMake

#-----------------------------------------------------------------------------
#
# CMake config
#
# protozero unit tests
#
#-----------------------------------------------------------------------------
set(UNIT_TESTS data_view
basic
buffer
endian
exceptions
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)
#-----------------------------------------------------------------------------