diff options
Diffstat (limited to 'test/test.pro')
-rw-r--r-- | test/test.pro | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/test.pro b/test/test.pro index 4fbf69a..e244ff5 100644 --- a/test/test.pro +++ b/test/test.pro @@ -5,10 +5,11 @@ INCLUDEPATH += . .. # enable/disable debug symbols # CONFIG += debug -CONFIG += console +CONFIG += console c++14 CONFIG -= x11 CONFIG -= app_bundle CONFIG += release +CONFIG -= debug debug { OBJECTS_DIR = obj/debug @@ -26,7 +27,9 @@ win32:!win32-g++ { LIBS += -lquackleio -lquackle } -QMAKE_CXXFLAGS:!win32-msvc2013 += -std=c++11 -Wno-unknown-warning-option -Wno-deprecated-register +!msvc { + QMAKE_CXXFLAGS += -Wno-unknown-warning-option -Wno-deprecated-register +} # Input HEADERS += testharness.h trademarkedboards.h @@ -36,3 +39,7 @@ SOURCES += testharness.cpp testmain.cpp trademarkedboards.cpp macx-g++ { QMAKE_CXXFLAGS += -fpermissive } + +linux { # old unixes/Qt distribs running around...most notably on Travis-CI + QMAKE_CXXFLAGS += -std=c++1y +} |