forked from organicmaps/organicmaps
Refactor omim.pro, delete old project files
This commit is contained in:
parent
335d2edd6c
commit
dfdf2a8e9d
4 changed files with 89 additions and 122 deletions
|
@ -1,2 +0,0 @@
|
|||
TEMPLATE = subdirs
|
||||
SUBDIRS = 3party
|
27
gtool.pro
27
gtool.pro
|
@ -1,27 +0,0 @@
|
|||
# Project to compile generator tool on machines without OpenGL
|
||||
|
||||
QT_VERSION = $$[QT_VERSION]
|
||||
QT_VERSION = $$split(QT_VERSION, ".")
|
||||
QT_VER_MAJ = $$member(QT_VERSION, 0)
|
||||
QT_VER_MIN = $$member(QT_VERSION, 1)
|
||||
|
||||
greaterThan(QT_VER_MAJ, 4) {
|
||||
cache()
|
||||
}
|
||||
|
||||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
|
||||
HEADERS += defines.hpp
|
||||
|
||||
SUBDIRS = 3party \
|
||||
base \
|
||||
coding \
|
||||
geometry \
|
||||
stats \
|
||||
indexer \
|
||||
platform \
|
||||
routing \
|
||||
storage \
|
||||
generator \
|
||||
generator/generator_tool \
|
173
omim.pro
173
omim.pro
|
@ -1,95 +1,100 @@
|
|||
# Project that just includes all other projects.
|
||||
QT_VERSION = $$[QT_VERSION]
|
||||
QT_VERSION = $$split(QT_VERSION, ".")
|
||||
QT_VER_MAJ = $$member(QT_VERSION, 0)
|
||||
QT_VER_MIN = $$member(QT_VERSION, 1)
|
||||
# Build file for MAPS.ME project
|
||||
#
|
||||
# Possible options:
|
||||
# 3party: build only 3party libraries
|
||||
# gtool: build only generator_tool
|
||||
# skin-gen: build skin-generator tool
|
||||
# no-tests: do not build tests for desktop
|
||||
# drape: include drape libraries (implies no-tests)
|
||||
# iphone / tizen / android: build an app (implies no-tests)
|
||||
|
||||
greaterThan(QT_VER_MAJ, 4) {
|
||||
cache()
|
||||
lessThan(QT_MAJOR_VERSION, 5) {
|
||||
error("You need Qt 5 to build this project. You have Qt $$QT_VERSION")
|
||||
}
|
||||
|
||||
cache()
|
||||
|
||||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
#CONFIG += drape_device
|
||||
|
||||
HEADERS += defines.hpp
|
||||
|
||||
# desktop projects
|
||||
!iphone*:!tizen*:!android* {
|
||||
SUBDIRS = 3party \
|
||||
base base/base_tests \
|
||||
coding coding/coding_tests \
|
||||
geometry \
|
||||
stats \
|
||||
indexer \
|
||||
platform \
|
||||
platform/platform_tests_support \
|
||||
routing \
|
||||
geometry/geometry_tests \
|
||||
platform/platform_tests \
|
||||
anim \
|
||||
qt_tstfrm \
|
||||
drape \
|
||||
drape/drape_tests \
|
||||
graphics \
|
||||
gui \
|
||||
render render/render_tests \
|
||||
storage storage/storage_tests \
|
||||
search search/search_tests \
|
||||
drape_frontend drape_frontend/drape_frontend_tests \
|
||||
map map/map_tests map/benchmark_tool map/mwm_tests \
|
||||
routing/routing_tests \
|
||||
generator generator/generator_tests \
|
||||
generator/generator_tool \
|
||||
indexer/indexer_tests \
|
||||
graphics/graphics_tests \
|
||||
gui/gui_tests \
|
||||
qt \
|
||||
drape_head \
|
||||
integration_tests \
|
||||
pedestrian_routing_benchmarks \
|
||||
search/integration_tests \
|
||||
} else:drape_device {
|
||||
# libraries which are used on mobile devices with drape engine
|
||||
SUBDIRS = 3party \
|
||||
base \
|
||||
coding \
|
||||
geometry \
|
||||
drape \
|
||||
platform \
|
||||
anim \
|
||||
indexer \
|
||||
routing \
|
||||
storage \
|
||||
graphics \
|
||||
gui \
|
||||
render \
|
||||
search \
|
||||
drape_frontend \
|
||||
map \
|
||||
stats \
|
||||
} else {
|
||||
# libraries which are used on mobile devices
|
||||
SUBDIRS = 3party \
|
||||
base \
|
||||
coding \
|
||||
geometry \
|
||||
platform \
|
||||
anim \
|
||||
indexer \
|
||||
routing \
|
||||
storage \
|
||||
graphics \
|
||||
gui \
|
||||
render \
|
||||
search \
|
||||
map \
|
||||
stats \
|
||||
win32:CONFIG(drape) {
|
||||
CONFIG -= drape
|
||||
}
|
||||
|
||||
win32 {
|
||||
SUBDIRS -= \
|
||||
drape drape/drape_tests \
|
||||
drape_frontend drape_frontend/drape_frontend_tests \
|
||||
drape_head
|
||||
!iphone*:!tizen*:!android* {
|
||||
CONFIG *= desktop
|
||||
}
|
||||
|
||||
CONFIG(designer) {
|
||||
DEFINES *= BUILD_DESIGNER
|
||||
CONFIG *= skin-gen
|
||||
}
|
||||
|
||||
SUBDIRS = 3party
|
||||
|
||||
!CONFIG(3party) {
|
||||
SUBDIRS += base geometry coding
|
||||
|
||||
SUBDIRS += platform
|
||||
SUBDIRS += stats
|
||||
SUBDIRS += indexer
|
||||
SUBDIRS += routing
|
||||
SUBDIRS += storage
|
||||
|
||||
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(skin-gen) {
|
||||
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
|
||||
} # !3party
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
SUBDIRS = 3party \
|
||||
base \
|
||||
geometry \
|
||||
coding \
|
||||
skin_generator
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue