1 |
TEMPLATE = app |
2 |
CONFIG += console |
3 |
CONFIG += c++14 |
4 |
QT += core |
5 |
QT -= gui # not needed |
6 |
#CONFIG -= qt |
7 |
#QT += qml #for use new google v8 qtscript engine |
8 |
QT += script #for use old qtscript engine |
9 |
QMAKE_CXXFLAGS+= -fopenmp |
10 |
QMAKE_LFLAGS += -fopenmp #OpenMP (multithreading) support |
11 |
|
12 |
# More optimization |
13 |
QMAKE_CFLAGS_RELEASE += -O3 |
14 |
QMAKE_CXXFLAGS_RELEASE += -O3 |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
macx { |
20 |
CONFIG -= app_bundle # We only want the binary on mac os not a bundle |
21 |
} |
22 |
|
23 |
|
24 |
INCLUDEPATH += ./libs |
25 |
|
26 |
SOURCES += main.cpp \ |
27 |
libs/pugixml.cpp \ |
28 |
xmltools.cpp \ |
29 |
util.cpp \ |
30 |
xmlpatch.cpp \ |
31 |
multidimvar.cpp \ |
32 |
utilxmltools.cpp \ |
33 |
xmlfilter.cpp \ |
34 |
optionsparser.cpp \ |
35 |
xmlcustomcode.cpp |
36 |
|
37 |
HEADERS += main.h \ |
38 |
libs/pugiconfig.hpp \ |
39 |
libs/pugixml.hpp \ |
40 |
util.h \ |
41 |
xmltools.h \ |
42 |
xmlpatch.h \ |
43 |
multidimvar.h \ |
44 |
utilxmltools.h \ |
45 |
xmlfilter.h \ |
46 |
optionsparser.h \ |
47 |
xmlcustomcode.h |
48 |
|
49 |
OTHER_FILES += |
50 |
|
51 |
RESOURCES += \ |
52 |
resources.qrc |