blob: 8e34bd8e225471faaef8e9dec08ae37d0ceada3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
project(osrm)
add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)
include_directories(
${OMIM_ROOT}/3party/osrm/osrm-backend/include
${OMIM_ROOT}/3party/osrm/osrm-backend/third_party
)
set(
SRC
boost_stub.cpp
osrm-backend/data_structures/coordinate.cpp
osrm-backend/data_structures/coordinate_calculation.hpp
osrm-backend/data_structures/coordinate_calculation.cpp
osrm-backend/data_structures/search_engine_data.cpp
osrm-backend/data_structures/phantom_node.cpp
osrm-backend/util/mercator.cpp
osrm-backend/util/mercator.hpp
)
# if (APPLE)
# target_compile_options(${PROJECT_NAME} PUBLIC "-fobjc-arc")
#endif()
add_library(${PROJECT_NAME} ${SRC})
#omim_add_test_subdirectory(osrm_tests)
#omim_add_test(${project} ${SRC})
# omim_link_libraries(osrm ...)
|