summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/compiler/compiler.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-06-18 14:30:50 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-06-27 08:27:03 +0200
commiteab7ec586d7502946aff634af668630a13909ec7 (patch)
tree73f2b25444e4945c12e1fd8b6a713a134b552003 /tests/auto/other/compiler/compiler.pro
parent416c112aea592e41a66d65a21a885f31d9a566d0 (diff)
Expand the compiler test with C++11 and C++14 compiler tests
This allows us to quickly test if a compiler actually supports what it claims to support. Change-Id: Ia32212a11774aa7947ddffae30837c53665374f3 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/other/compiler/compiler.pro')
-rw-r--r--tests/auto/other/compiler/compiler.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/compiler/compiler.pro b/tests/auto/other/compiler/compiler.pro
index 8ebcf60bc0..213429050f 100644
--- a/tests/auto/other/compiler/compiler.pro
+++ b/tests/auto/other/compiler/compiler.pro
@@ -1,9 +1,9 @@
CONFIG += testcase
TARGET = tst_compiler
-SOURCES += tst_compiler.cpp baseclass.cpp derivedclass.cpp
+SOURCES += tst_compiler.cpp baseclass.cpp derivedclass.cpp othersource.cpp
HEADERS += baseclass.h derivedclass.h
QT = core testlib
-
+contains(QT_CONFIG, c++11): CONFIG += c++14 c++11
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0