qt5base-lts/mkspecs
Bradley T. Hughes bf84d1a1fe configure: Auto-detect and enable C++11 support if available
Enabling support for C++11 adds CONFIG+=c++11 to the Qt build. Projects
using Qt can check for C++11 support using contains(QT_CONFIG, c++11) in
their .pr[iof] files.

The QMAKE_CXXFLAGS_CXX11 and QMAKE_LFLAGS_CXX11 qmake varibles contain
any arguments the compiler needs to enable C++11. CONFIG+=c++11 adds
these arguments to the build.

Support for clang, g++, and the Intel C++ Compiler for Linux are
included in this commit.

Change-Id: Id77f86d7ad4d5c740b890446a40b105879a0d327
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-06-05 12:30:13 +02:00
..
aix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
cmake Properly quote all variables which are paths. 2012-05-16 12:03:54 +02:00
common configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
cygwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
darwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
devices eglfs: implement hardware cursor for the raspberry-pi 2012-06-01 15:22:49 +02:00
features configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
freebsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-g++46 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-icc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-o64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-32 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hurd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-arm-gnueabi-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-ecc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-maemo Include generic ARM qplatformdefs.h in linux-g++-maemo mkspec 2012-03-19 20:16:04 +01:00
linux-icc configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
linux-icc-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-kcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-lsb-g++ Use the LSB linker to link 2012-03-15 00:50:47 +01:00
linux-pgcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
lynxos-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
macx-clang Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-clang-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++40 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++42 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-icc Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-pbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-xcode Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-xlc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
modules update readme to current reality 2012-01-27 13:55:27 +01:00
netbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
openbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-g++ remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
solaris-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unsupported Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
win32-g++ Enable extra warnings for win32-g++ mkspecs 2012-05-23 20:09:09 +02:00
win32-icc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs (part 2) 2012-03-09 18:50:52 +01:00
win32-msvc11 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2005 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2008 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2010 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
wince50standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-armv4i-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince70embedded-armv4i-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wince70embedded-x86-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wincewm50pocket-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50pocket-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00