forked from rinigus/osmscout-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
osmscout-server_console.pro
83 lines (67 loc) · 1.8 KB
/
osmscout-server_console.pro
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
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = osmscout-server
QT = core network
CONFIG += c++11
CONFIG += use_map_qt
#CONFIG += use_map_cairo
# installs
stylesheets.files = stylesheets
stylesheets.path = /usr/share/$${TARGET}
INSTALLS += stylesheets
data.files = data
data.path = /usr/share/$${TARGET}
INSTALLS += data
# defines
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
DEFINES += IS_CONSOLE_QT
SOURCES += src/dbmaster.cpp \
src/main.cpp \
src/requestmapper.cpp \
src/appsettings.cpp \
src/dbmaster_search.cpp \
src/dbmaster_map.cpp \
src/osmscout-server_console.cpp \
src/searchresults.cpp \
src/infohub.cpp \
src/consolelogger.cpp \
src/dbmaster_route.cpp \
src/routingforhuman.cpp
OTHER_FILES += \
osmscout-server.desktop
include(src/uhttp/uhttp.pri)
HEADERS += \
src/dbmaster.h \
src/requestmapper.h \
src/appsettings.h \
src/config.h \
src/searchresults.h \
src/infohub.h \
src/consolelogger.h \
src/routingforhuman.h
use_map_qt {
DEFINES += USE_OSMSCOUT_MAP_QT
QT += gui
LIBS += -losmscout_map_qt
}
use_map_cairo {
DEFINES += USE_OSMSCOUT_MAP_CAIRO
LIBS += -losmscout_map_cairo
CONFIG += link_pkgconfig
PKGCONFIG += pango cairo
}
LIBS += -losmscout_map -losmscout -lmarisa
QMAKE_CXXFLAGS += -fopenmp
LIBS += -fopenmp
CONFIG(release, debug|release) {
DEFINES += QT_NO_WARNING_OUTPUT QT_NO_DEBUG_OUTPUT
}