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