Enabled C++11 features on Linux (GCC), disabled "unknown pragma" warnings on GCC.

print
Josef Rokos 9 years ago
parent de7e0fc9c4
commit d4da3cb6cf

@ -31,6 +31,8 @@ HEADERS += accommodation.h\
unix {
target.path = /usr/lib
INSTALLS += target
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
}
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore

@ -25,6 +25,12 @@ HEADERS += mainwindow.h
FORMS += mainwindow.ui
unix {
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
}
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore

@ -41,6 +41,8 @@ HEADERS += core.h\
unix {
target.path = /usr/lib
INSTALLS += target
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
}
ODB_FILES = core/data/core-data.h

Loading…
Cancel
Save