osrm-backend/test/unit/CMakeLists.txt
Michael Krasnyk 68019a1fb2 Squashed 'third_party/protozero/' content from commit d5d8debf1
git-subtree-dir: third_party/protozero
git-subtree-split: d5d8debf1b17c6bb652395957b76cde7787e5377
2018-04-19 22:03:49 +03:00

24 lines
603 B
CMake

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