-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgems3gui.pro
124 lines (102 loc) · 3 KB
/
gems3gui.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
TEMPLATE = app
#LANGUAGE = C++
TARGET = gems3
DEFINES += NODEARRAYLEVEL
#DEFINES += NOMUPNONLOGTERM
DEFINES += NO_JSONIO
#DEFINES += USE_NLOHMANNJSON
DEFINES += NDEBUG
DEFINES += USE_THERMOFUN
DEFINES += USE_THERMO_LOG
#!win32:!macx-clang:DEFINES += OVERFLOW_EXCEPT #compile with nan inf exceptions
CONFIG+=sdk_no_version_check
CONFIG += c++17
CONFIG += warn_on
CONFIG += thread
QT += network
QT += sql xml svg
QT += charts
QT += widgets printsupport help concurrent
#RESOURCES += img.qrc
win32:RC_ICONS += Gems3.ico
win32 {
INCLUDEPATH += "C:\usr\local\include"
DEPENDPATH += "C:\usr\local\include"
LIBPATH += "C:\usr\local\lib"
}
!win32 {
DEFINES += __unix
QMAKE_CFLAGS += pedantic -Wall -Wextra -Wwrite-strings -Werror
QMAKE_CXXFLAGS += -Wall -Wextra -Wcast-align -Wpointer-arith \
-Wmissing-declarations \ #-Wundef -Weffc++ -Wshadow -Wformat-nonliteral -Winline
-Wcast-qual -Wwrite-strings -Wno-unused-parameter \
-Wfloat-equal -pedantic -ansi #-fsignaling-nans -ffinite-math-only
}
macx-g++ {
DEFINES += __APPLE__
# macx:QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
CONFIG -= warn_on
CONFIG += warn_off
}
RESOURCES = ./GUI/GUI.qrc
SERVICES4_CPP = ./GUI/Services4
DATAMAN_CPP = ./GUI/Dataman
DIALOGS4_CPP = ./GUI/Dialogs4
CHARTS_CPP = ./GUI/charts
MODULES_CPP = ./Modules
SUBMODS_CPP = ./Modules/Submods
NUMERICS_CPP = ./Modules/Numerics
SERVICES4_H = $$SERVICES4_CPP
DATAMAN_H = $$DATAMAN_CPP
DIALOGS4_H = $$DIALOGS4_CPP
CHARTS_H = $$CHARTS_CPP
MODULES_H = $$MODULES_CPP
SUBMODS_H = $$SUBMODS_CPP
NUMERICS_H = $$NUMERICS_CPP
DEPENDPATH += $$SERVICES4_H
DEPENDPATH += $$DATAMAN_H
DEPENDPATH += $$DIALOGS4_H
DEPENDPATH += $CHARTS_H
DEPENDPATH += $$MODULES_H
DEPENDPATH += $$SUBMODS_H
DEPENDPATH += $$NUMERICS_H
INCLUDEPATH += $$SERVICES4_H
INCLUDEPATH += $$DATAMAN_H
INCLUDEPATH += $$DIALOGS4_H
INCLUDEPATH += $$CHARTS_H
INCLUDEPATH += $$MODULES_H
INCLUDEPATH += $$SUBMODS_H
INCLUDEPATH += $$NUMERICS_H
contains(DEFINES, USE_THERMOFUN) {
TFUN_CFUN_H = /usr/local/include
INCLUDEPATH += $$TFUN_CFUN_H
!win32:LIBS += -L/usr/local/lib -lThermoFun -lChemicalFun
win32:LIBS += -LC:\usr\local\bin -lThermoFun -lChemicalFun
} ## end USE_THERMOFUN
MOC_DIR = tmp
UI_DIR = $$MOC_DIR
UI_SOURSEDIR = $$MOC_DIR
UI_HEADERDIR = $$MOC_DIR
OBJECTS_DIR = obj
# link lib
#INCLUDEPATH += "/usr/local/include/GEMS3K"
#DEPENDPATH += "/usr/local/include/GEMS3K"
LIBS += -lzmq -lGEMS3K
#link sources
#GEMS3K_CPP = ../GEMS3K/GEMS3K
#GEMS3K_H = $$GEMS3K_CPP
#DEPENDPATH += $$GEMS3K_H
#INCLUDEPATH += $$GEMS3K_H
#LIBS += -lzmq
#include($$GEMS3K_CPP/gems3k.pri)
#end link
include($$DATAMAN_CPP/Dataman.pri)
include($$MODULES_CPP/Modules.pri)
include($$SUBMODS_CPP/Submods.pri)
include($$NUMERICS_CPP/Numerics.pri)
include($$SERVICES4_CPP/Services4.pri)
include($$DIALOGS4_CPP/Dialogs4.pri)
include($$CHARTS_CPP/charts.pri)
#message("Defines: $$DEFINES")
SOURCES += \
App/main.cpp