-
Notifications
You must be signed in to change notification settings - Fork 0
/
BrainReliefer.pro
172 lines (142 loc) · 5.02 KB
/
BrainReliefer.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
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
TEMPLATE = app
QT += qml quick xmlpatterns widgets
CONFIG += c++11
DATA_FOLDER = logic/Data
MODELS_FOLDER = logic/Models
LOGGER_FOLDER = logic/Logger
SETTINGS_FOLDER = logic/Settings
COMMONDATA_FOLDER = common/Data
CORE_FOLDER = core
SOURCES += main.cpp \
$${LOGGER_FOLDER}/Logger.cpp \
$${DATA_FOLDER}/IntrantsList.cpp \
$${DATA_FOLDER}/IntrantsList-pimpl.cpp \
$${DATA_FOLDER}/IntrantsList-pskel.cpp \
$${DATA_FOLDER}/IntrantsList-simpl.cpp \
$${DATA_FOLDER}/IntrantsList-sskel.cpp \
$${DATA_FOLDER}/DataValidator.cpp \
$${MODELS_FOLDER}/IntrantsModel.cpp \
$${MODELS_FOLDER}/ProjectsModel.cpp \
$${MODELS_FOLDER}/ActionsModel.cpp \
$${MODELS_FOLDER}/ModelsHelper.cpp \
$${DATA_FOLDER}/DataManager.cpp \
$${DATA_FOLDER}/XsdeExceptions.cpp \
$${DATA_FOLDER}/SharedIntrant.cpp \
$${DATA_FOLDER}/SharedAction.cpp \
$${COMMONDATA_FOLDER}/Action.cpp \
$${SETTINGS_FOLDER}/Settings.cpp \
EngineConfigurator.cpp \
AppConfiguration.cpp \
$${MODELS_FOLDER}/ProjectAction.cpp \
core/Utils.cpp
HEADERS += $${CORE_FOLDER}/Global.hpp \
$${LOGGER_FOLDER}/Logger.hpp \
$${DATA_FOLDER}/IntrantsList.hpp \
$${DATA_FOLDER}/IntrantsList-pimpl.hpp \
$${DATA_FOLDER}/IntrantsList-pskel.hpp \
$${DATA_FOLDER}/IntrantsList-simpl.hpp \
$${DATA_FOLDER}/IntrantsList-sskel.hpp \
$${DATA_FOLDER}/DataValidator.hpp \
$${MODELS_FOLDER}/IntrantsModel.hpp \
$${MODELS_FOLDER}/ProjectsModel.hpp \
$${MODELS_FOLDER}/ActionsModel.hpp \
$${MODELS_FOLDER}/ModelsHelper.hpp \
$${DATA_FOLDER}/DataManager.hpp \
$${DATA_FOLDER}/XsdeExceptions.hpp \
$${DATA_FOLDER}/DataConstants.hpp \
$${DATA_FOLDER}/SharedIntrant.hpp \
$${DATA_FOLDER}/SharedAction.hpp \
$${DATA_FOLDER}/XsdeHelpers.hpp \
$${COMMONDATA_FOLDER}/Action.hpp \
$${SETTINGS_FOLDER}/Settings.hpp \
logic/Singleton.hpp \
EngineConfigurator.hpp \
AppConfiguration.hpp \
$${MODELS_FOLDER}/ProjectAction.hpp \
core/Utils.hpp
RESOURCES += gui/qml/qml.qrc \
logic/data.qrc
INCLUDEPATH += gui \
logic \
common
win32-msvc2013 {
XSD_INCLUDE_DIR = "G:/CodeSynthesis XSD 4.0/include"
INCLUDEPATH += XSD_INCLUDE_DIR
## Windows common build here
!contains(QMAKE_TARGET.arch, x86_64){
## Windows x86 (32bit) specific build here
message("adding msvc2013 32bits Xerces lib")
LIBS += $${XSD_BASE_DIR}\lib\vc-12.0\xerces-c_3.lib
} else {
## Windows x64 (64bit) specific build here
message("adding msvc2013 64bits Xerces lib")
LIBS += $${XSD_BASE_DIR}\lib64\vc-12.0\xerces-c_3.lib
}
}
linux:!android {
LIB_DIR = "/home/mihl/Libraries"
# XSD_INCLUDE_DIR = $${LIB_DIR}/xsd/libxsd
XSDE_DIR = $${LIB_DIR}/xsde/linux/libxsde/
XERCES_DIR = $${LIB_DIR}/xerces-c/linux-x86_64
ICU_DIR = $${LIB_DIR}/icu/linux-x86_64
INCLUDEPATH += $${XSDE_DIR} \
$${XERCES_DIR}/include \
$${ICU_DIR}/include
LIBS += -L$${XERCES_DIR}/lib -lxerces-c \
-L$${ICU_DIR}/lib -licudata -licui18n -licuio -licuuc \
-L$${XSDE_DIR}/xsde -lxsde
}
android {
LIB_DIR = "/home/mihl/Libraries"
# XSD_INCLUDE_DIR = $${LIB_DIR}/xsd/libxsd
equals(ANDROID_TARGET_ARCH, arm64-v8a) {
ARCH_DIR = aarch64-linux-android
}
equals(ANDROID_TARGET_ARCH, x86) {
ARCH_DIR = x86
}
BOOST_DIR = $${LIB_DIR}/boost/android-23/$${ARCH_DIR}
XSDE_DIR = $${LIB_DIR}/xsde/android-23/$${ARCH_DIR}/libxsde
XERCES_DIR = $${LIB_DIR}/xerces-c/android-23/$${ARCH_DIR}
ICU_DIR = $${LIB_DIR}/icu/android-23/$${ARCH_DIR}
# QMAKE_CXXFLAGS += -D_GLIBCXX_USE_C99 # for x86_64
QMAKE_CXXFLAGS += -D__GXX_EXPERIMENTAL_CXX_0X__
INCLUDEPATH += $${XSDE_DIR} \
$${XERCES_DIR}/include \
$${ICU_DIR}/include \
$${BOOST_DIR}/include \
$${NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/4.9/include
LIBS += -L$${XERCES_DIR}/lib -lxerces-c \
-L$${ICU_DIR}/lib -licuuc -licudata -licui18n -licuio \
-L$${XSDE_DIR}/xsde -lxsde \
-L$${NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/4.9/libs/$${ANDROID_TARGET_ARCH} -lgnustl_static \
-L$${BOOST_DIR}/lib -lboost_filesystem -lboost_regex -lboost_system
DISTFILES += \
android/AndroidManifest.xml \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradlew \
android/res/values/libs.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew.bat \
android/AndroidManifest.xml \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradlew \
android/res/values/libs.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew.bat
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
}
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
DISTFILES += \
android/AndroidManifest.xml \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradlew \
android/res/values/libs.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew.bat