Last change
on this file since 983 was 964, checked in by s10k, 11 years ago |
XmlTools
More speedup, about 3 times faster now than the current AEI build
|
File size:
985 bytes
|
Rev | Line | |
---|
[906] | 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
|
---|
[953] | 8 | QMAKE_CXXFLAGS+= -fopenmp
|
---|
| 9 | QMAKE_LFLAGS += -fopenmp #OpenMP (multithreading) support
|
---|
[906] | 10 |
|
---|
[964] | 11 | # More optimization
|
---|
| 12 | QMAKE_CFLAGS_RELEASE += -O3
|
---|
| 13 | QMAKE_CXXFLAGS_RELEASE += -O3
|
---|
[953] | 14 |
|
---|
[964] | 15 |
|
---|
| 16 |
|
---|
| 17 |
|
---|
[906] | 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 \
|
---|
[926] | 32 | xmlfilter.cpp \
|
---|
[964] | 33 | optionsparser.cpp \
|
---|
| 34 | xmlcustomcode.cpp
|
---|
[906] | 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 \
|
---|
[926] | 44 | xmlfilter.h \
|
---|
[964] | 45 | optionsparser.h \
|
---|
| 46 | xmlcustomcode.h
|
---|
[906] | 47 |
|
---|
| 48 | OTHER_FILES +=
|
---|
| 49 |
|
---|
| 50 | RESOURCES += \
|
---|
| 51 | resources.qrc
|
---|
Note:
See
TracBrowser
for help on using the repository browser.