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: f9698d78bc064794f4f3420a1c28d911ef781658 (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
# 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
#   drape: include drape libraries
#   iphone / tizen / android: build an app (implies no-tests)

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

cache()

TEMPLATE = subdirs
CONFIG += ordered

HEADERS += defines.hpp

win32:CONFIG(drape) {
  CONFIG -= drape
}

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

SUBDIRS = 3party base geometry coding

SUBDIRS += platform
SUBDIRS += stats
SUBDIRS += indexer
SUBDIRS += routing
SUBDIRS += storage

# Integration tests dependencies for gtool
CONFIG(gtool):!CONFIG(no-tests) {
  SUBDIRS += search
  SUBDIRS += map
  SUBDIRS += integration_tests
}

CONFIG(desktop) {
  SUBDIRS += generator generator/generator_tool
}

!CONFIG(gtool) {
  SUBDIRS *= anim
  SUBDIRS *= graphics
  SUBDIRS *= gui
  SUBDIRS *= render
  SUBDIRS *= search
  SUBDIRS *= map

  CONFIG(desktop) {
    SUBDIRS += qt
  }

  CONFIG(map_designer) {
    SUBDIRS += skin_generator
  }

  CONFIG(drape) {
    SUBDIRS += drape drape_frontend

    CONFIG(desktop) {
      SUBDIRS += drape_head
    }
  }

  CONFIG(desktop):!CONFIG(no-tests) {
    SUBDIRS += base/base_tests
    SUBDIRS += coding/coding_tests
    SUBDIRS += platform/platform_tests_support
    SUBDIRS += geometry/geometry_tests
    SUBDIRS += platform/platform_tests
    SUBDIRS += qt_tstfrm
    SUBDIRS += render/render_tests
    SUBDIRS += storage/storage_tests
    SUBDIRS += search/search_tests
    SUBDIRS += map/map_tests map/benchmark_tool map/mwm_tests
    SUBDIRS += routing/routing_tests
    SUBDIRS += generator/generator_tests
    SUBDIRS += indexer/indexer_tests
    SUBDIRS += graphics/graphics_tests
    SUBDIRS += gui/gui_tests
    SUBDIRS *= integration_tests
    SUBDIRS += pedestrian_routing_benchmarks
    SUBDIRS += search/integration_tests

    CONFIG(drape) {
      SUBDIRS += drape/drape_tests
      SUBDIRS += drape_frontend/drape_frontend_tests
    }
  } # !no-tests
} # !gtool