Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « ugc_tests « ugc - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b62970218e925bb3b6eef125c2ce5b3bce50e03 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
project(ugc_tests)

include_directories(${OMIM_ROOT}/3party/jansson/src)

option(UGC_MIGRATION "Build migration file for ugc" OFF)

set(
  SRC
  serdes_binary_tests.cpp
  serdes_tests.cpp
  storage_tests.cpp
  utils.cpp
  utils.hpp
)

if (UGC_MIGRATION)
  set(
    SRC
    ${SRC}
    migration/generate_migration_files.cpp
  )

  message("Generating files for UGC index migration")
endif()

omim_add_test(${PROJECT_NAME} ${SRC})

omim_link_libraries(
  ${PROJECT_NAME}
  generator_tests_support
  generator
  search
  routing
  routing_common
  ugc
  editor
  indexer
  storage
  platform
  coding
  geometry
  base
  icu
  jansson
  stats_client
  pugixml
  tess2
  protobuf
  succinct
  opening_hours
  oauthcpp
  ${LIBZ}
)
link_qt5_core(${PROJECT_NAME})