Revision 4956cce5
Von Christian Ehringfeld vor etwa 10 Jahren hinzugefügt
| EntityManager.pro | ||
|---|---|---|
|
src/schema/mysqlquerybuilder.cpp \
|
||
|
src/entityinspector.cpp
|
||
|
|
||
|
CONFIG += c++14
|
||
|
QMAKE_CXXFLAGS += -std=c++14
|
||
|
|
||
|
LIBS += -lsqlite3
|
||
|
CONFIG += c++11
|
||
|
QMAKE_CXXFLAGS += -std=c++11 -Wall
|
||
|
|
||
|
|
||
|
unix {
|
||
|
linux-g++ {
|
||
|
system( g++ --version | grep -e "\<5.[0-9]" ) {
|
||
|
CONFIG += c++14
|
||
|
QMAKE_CXXFLAGS += -std=c++14
|
||
|
QMAKE_CXXFLAGS += -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override
|
||
|
}
|
||
|
}
|
||
|
target.path = /usr/lib
|
||
|
INSTALLS += target
|
||
|
QMAKE_CXXFLAGS += -Wall -Wextra -Wmaybe-uninitialized -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -O
|
||
|
}
|
||
|
|
||
|
win32-g++ {
|
||
|
CONFIG += c++11
|
||
|
QMAKE_CXXFLAGS += -std=c++11 -Wall
|
||
|
QMAKE_CXXFLAGS += -Wall -Wextra -Wmaybe-uninitialized -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -O
|
||
|
}
|
||
|
|
||
|
#QMAKE_CXXFLAGS += -Winit-self
|
||
|
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
||
|
|
||
|
DISTFILES += \
|
||
Auch abrufbar als: Unified diff
.pro update