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

omim.pro - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e53e29a481101fede3999b34256b2923cddfc49d (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# Build file for MAPS.ME project
#
# Possible options:
#   gtool: build only generator_tool
#   map_designer: enable designer-related flags
#   no-tests: do not build tests for desktop
#
# There are no supported options in CONFIG for mobile platforms.
# Please use XCode or gradle/Android Studio.


lessThan(QT_MAJOR_VERSION, 5) {
  error("You need Qt 5 to build this project. You have Qt $$QT_VERSION")
}

cache()

TEMPLATE = subdirs

HEADERS += defines.hpp

!iphone*:!tizen*:!android* {
  CONFIG *= desktop
}

SUBDIRS = 3party base coding geometry editor indexer routing search

!CONFIG(osrm) {
  SUBDIRS *= platform stats storage

  CONFIG(desktop) {
    SUBDIRS *= generator

    generator_tool.subdir = generator/generator_tool
    generator_tool.depends = $$SUBDIRS
    SUBDIRS *= generator_tool
  }

  # Integration tests dependencies for gtool.
  # TODO(AlexZ): Avoid duplication for routing_integration_tests.
  CONFIG(gtool):!CONFIG(no-tests) {
    SUBDIRS *= traffic map

    # Booking quality check
    booking_quality_check.subdir = generator/booking_quality_check
    booking_quality_check.depends = $$SUBDIRS
    SUBDIRS *= booking_quality_check

    # restaraunts_info
    restaurants_info.subdir = generator/restaurants_info
    restaurants_info.depends = $$SUBDIRS
    SUBDIRS *= restaurants_info

    routing_integration_tests.subdir = routing/routing_integration_tests
    routing_integration_tests.depends = $$SUBDIRS
    routing_consistency_tests.subdir = routing/routing_consistency_tests
    routing_consistency_tests.depends = $$SUBDIRS
    srtm_coverage_checker.subdir = generator/srtm_coverage_checker
    srtm_coverage_checker.depends = $$SUBDIRS routing
    feature_segments_checker.subdir = generator/feature_segments_checker
    feature_segments_checker.depends = $$SUBDIRS routing
    SUBDIRS *= routing_integration_tests routing_consistency_tests srtm_coverage_checker feature_segments_checker
  }
}

!CONFIG(gtool):!CONFIG(osrm) {
  SUBDIRS *= drape drape_frontend partners_api tracking traffic map

  CONFIG(map_designer):CONFIG(desktop) {
    SUBDIRS *= skin_generator
  }

  CONFIG(desktop) {
    drape_head.depends = $$SUBDIRS
    SUBDIRS *= drape_head
  }

  CONFIG(desktop) {
    benchmark_tool.subdir = map/benchmark_tool
    benchmark_tool.depends = 3party base coding geometry platform indexer search map
    mapshot.depends = $$SUBDIRS
    qt.depends = $$SUBDIRS

    SUBDIRS *= benchmark_tool mapshot qt
    }

  CONFIG(desktop) {
    # Desktop-only support library, used in tests and search quality tools.
    generator_tests_support.subdir = generator/generator_tests_support
    SUBDIRS *= generator_tests_support
  }

  CONFIG(desktop) {
    # Desktop-only support library, used in tests and search quality tools.
    search_tests_support.subdir = search/search_tests_support
    SUBDIRS *= search_tests_support

    # Desktop-only library, can be used as a search interface for Python2.7.
    CONFIG(search_engine_pylib) {
      search_engine_pylib.subdir = search/search_engine_pylib
      search_engine_pylib.depends = $$SUBDIRS
      SUBDIRS *= search_engine_pylib
    }

    search_quality.subdir = search/search_quality
    search_quality.depends = $$SUBDIRS
    SUBDIRS *= search_quality

    search_quality_tool.subdir = search/search_quality/search_quality_tool
    search_quality_tool.depends = $$SUBDIRS

    features_collector_tool.subdir = search/search_quality/features_collector_tool
    features_collector_tool.depends = $$SUBDIRS

    feature_list.subdir = feature_list
    feature_list.depends = $$SUBDIRS

    SUBDIRS *= feature_list features_collector_tool search_quality_tool
  }

  CONFIG(desktop):!CONFIG(no-tests) {
    # Additional desktop-only, tests-only libraries.
    platform_tests_support.subdir = platform/platform_tests_support
    SUBDIRS *= platform_tests_support

    indexer_tests_support.subdir = indexer/indexer_tests_support
    SUBDIRS *= indexer_tests_support

    # Tests binaries.
    base_tests.subdir = base/base_tests
    base_tests.depends = base
    SUBDIRS *= base_tests

    coding_tests.subdir = coding/coding_tests
    coding_tests.depends = 3party base
    SUBDIRS *= coding_tests

    geometry_tests.subdir = geometry/geometry_tests
    geometry_tests.depends = 3party base geometry
    SUBDIRS *= geometry_tests

    indexer_tests.subdir = indexer/indexer_tests
    indexer_tests.depends = 3party base coding geometry platform editor storage routing indexer \
                            platform_tests_support search_tests_support generator_tests_support \
                            indexer_tests_support

    SUBDIRS *= indexer_tests

    platform_tests.subdir = platform/platform_tests
    platform_tests.depends = 3party base coding platform platform_tests_support
    SUBDIRS *= platform_tests

#   Uncomment after replace hash function
#    downloader_tests.subdir = platform/downloader_tests
#    downloader_tests.depends = 3party base coding platform platform_tests_support
#    SUBDIRS *= downloader_tests

    search_tests.subdir = search/search_tests
    search_tests.depends = 3party base coding geometry platform indexer search
    SUBDIRS *= search_tests

    MapDepLibs = 3party base coding geometry editor platform storage indexer search map \
                 routing drape drape_frontend

    # @TODO storage_tests.depends is equal to map_tests because now storage/migrate_tests.cpp
    # is located in storage_tests. When the new map downloader is used and storage_integraion_tests
    # is recovered storage/migrate_tests.cpp should be moved to storage_integraion_tests
    # storage_tests.depends should be set to |3party base coding geometry platform storage indexer stats|
    # as it was before.
    storage_tests.subdir = storage/storage_tests
    storage_tests.depends = $$MapDepLibs generator_tests_support generator
    SUBDIRS *= storage_tests

    storage_integration_tests.subdir = storage/storage_integration_tests
    storage_integration_tests.depends = $$MapDepLibs
    SUBDIRS *= storage_integration_tests

    map_tests.subdir = map/map_tests
    map_tests.depends = $$MapDepLibs
    SUBDIRS *= map_tests

    mwm_tests.subdir = map/mwm_tests
    mwm_tests.depends = $$MapDepLibs
    SUBDIRS *= mwm_tests

    style_tests.subdir = map/style_tests
    style_tests.depends = $$MapDepLibs
    SUBDIRS *= style_tests

    routing_tests.subdir = routing/routing_tests
    routing_tests.depends = $$MapDepLibs
    SUBDIRS *= routing_tests

    routing_integration_tests.subdir = routing/routing_integration_tests
    routing_integration_tests.depends = $$MapDepLibs routing
    SUBDIRS *= routing_integration_tests

    routing_consistency_tests.subdir = routing/routing_consistency_tests
    routing_consistency_tests.depends = $$MapDepLibs routing
    SUBDIRS *= routing_consistency_tests

    srtm_coverage_checker.subdir = generator/srtm_coverage_checker
    srtm_coverage_checker.depends = $$MapDepLibs routing
    SUBDIRS *= srtm_coverage_checker

    feature_segments_checker.subdir = generator/feature_segments_checker
    feature_segments_checker.depends = $$MapDepLibs routing
    SUBDIRS *= feature_segments_checker

    routing_benchmarks.subdir = routing/routing_benchmarks
    routing_benchmarks.depends = $$MapDepLibs routing
    SUBDIRS *= routing_benchmarks

    search_tests_support.subdir = search/search_tests_support
    search_tests_support.depends = $$MapDepLibs
    SUBDIRS *= search_tests_support

    search_integration_tests.subdir = search/search_integration_tests
    search_integration_tests.depends = $$MapDepLibs search_tests_support \
                                       generator_tests_support indexer_tests_support generator
    SUBDIRS *= search_integration_tests

    search_quality_tests.subdir = search/search_quality/search_quality_tests
    search_quality_tests.depends = $$MapDepLibs search_quality search_tests_support
    SUBDIRS *= search_quality_tests

    generator_tests.subdir = generator/generator_tests
    generator_tests.depends = $$MapDepLibs routing generator
    SUBDIRS *= generator_tests

    editor_tests.subdir = editor/editor_tests
    editor_tests.depends = 3party base coding geometry platform editor
    SUBDIRS *= editor_tests

    osm_auth_tests.subdir = editor/osm_auth_tests
    osm_auth_tests.depends = 3party base coding geometry platform editor
    SUBDIRS *= osm_auth_tests

    SUBDIRS *= qt_tstfrm

    drape_tests.subdir = drape/drape_tests
    drape_tests.depends = 3party base coding platform qt_tstfrm
    SUBDIRS *= drape_tests

    drape_frontend_tests.subdir = drape_frontend/drape_frontend_tests
    drape_frontend_tests.depends = 3party base coding platform drape drape_frontend
    SUBDIRS *= drape_frontend_tests

    partners_api_tests.subdir = partners_api/partners_api_tests
    partners_api_tests.depends = base platform partners_api
    SUBDIRS *= partners_api_tests

    tracking_tests.subdir = tracking/tracking_tests
    tracking_tests.depends = 3party base routing tracking platform_tests_support platform coding geometry 
    SUBDIRS *= tracking_tests

    traffic_tests.subdir = traffic/traffic_tests
    traffic_tests.depends = 3party base routing traffic platform_tests_support platform coding geometry
    SUBDIRS *= traffic_tests
  } # !no-tests
} # !gtool