Rev | Line | |
---|
[906] | 1 | TEMPLATE = app
|
---|
| 2 | CONFIG += console
|
---|
[1055] | 3 | CONFIG += c++14
|
---|
[906] | 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
|
---|
[953] | 9 | QMAKE_CXXFLAGS+= -fopenmp
|
---|
| 10 | QMAKE_LFLAGS += -fopenmp #OpenMP (multithreading) support
|
---|
[906] | 11 |
|
---|
[964] | 12 | # More optimization
|
---|
| 13 | QMAKE_CFLAGS_RELEASE += -O3
|
---|
| 14 | QMAKE_CXXFLAGS_RELEASE += -O3
|
---|
[953] | 15 |
|
---|
[964] | 16 |
|
---|
| 17 |
|
---|
| 18 |
|
---|
[906] | 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 \
|
---|
[926] | 33 | xmlfilter.cpp \
|
---|
[964] | 34 | optionsparser.cpp \
|
---|
| 35 | xmlcustomcode.cpp
|
---|
[906] | 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 \
|
---|
[926] | 45 | xmlfilter.h \
|
---|
[964] | 46 | optionsparser.h \
|
---|
| 47 | xmlcustomcode.h
|
---|
[906] | 48 |
|
---|
| 49 | OTHER_FILES +=
|
---|
| 50 |
|
---|
| 51 | RESOURCES += \
|
---|
| 52 | resources.qrc
|
---|
Note:
See
TracBrowser
for help on using the repository browser.