diff --git a/routing/CMakeLists.txt b/routing/CMakeLists.txt index 4c8b0b7f01..81ab41d70a 100644 --- a/routing/CMakeLists.txt +++ b/routing/CMakeLists.txt @@ -119,5 +119,4 @@ set( add_library(${PROJECT_NAME} ${SRC}) omim_add_test_subdirectory(routing_tests) omim_add_test_subdirectory(routing_integration_tests) - - +omim_add_test_subdirectory(routing_consistency_tests) diff --git a/routing/routing_consistency_tests/CMakeLists.txt b/routing/routing_consistency_tests/CMakeLists.txt new file mode 100644 index 0000000000..e00bbe7388 --- /dev/null +++ b/routing/routing_consistency_tests/CMakeLists.txt @@ -0,0 +1,50 @@ +# This subproject implements routing consistency tests. +# This tests are launched on the whole world dataset. + +project(routing_consistency_tests) + +include_directories(${OMIM_ROOT}/3party/gflags/src) + +set( + SRC + ../routing_integration_tests/routing_test_tools.cpp + routing_consistency_tests.cpp +) + +# Not using omim_add_test because we don't need testingmain.cpp +add_executable(${PROJECT_NAME} ${SRC}) + +omim_link_libraries( + ${PROJECT_NAME} + map + routing + traffic + search + storage + indexer + platform + editor + geometry + oauthcpp + opening_hours + coding + base + osrm + jansson + protobuf + succinct + stats_client + generator + gflags + pugixml + ${Qt5Core_LIBRARIES} + ${LIBZ} +) + +if (PLATFORM_MAC) + omim_link_libraries( + ${PROJECT_NAME} + ${Qt5Widgets_LIBRARIES} + "-framework IOKit" + ) +endif()