summaryrefslogtreecommitdiff
path: root/test/test.pro
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2017-08-10 00:08:04 -0500
committerJohn Fultz <jfultz@wolfram.com>2017-08-10 02:33:13 -0500
commitb3672501e03144a7ad56e6751694697a0d23e240 (patch)
treeb3c68a8c7a1a224318f47f174eae2070564e3f03 /test/test.pro
parent3bfacc90fb3152384e1a4ae8894265fc8d966a56 (diff)
Add OS X builds to Travis-CI.
Also, add a bit of parallelization, do a few other cleanups on the yml and .pro files. And push C++14 flags everywhere into the build system.
Diffstat (limited to 'test/test.pro')
-rw-r--r--test/test.pro11
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
+}