qt5base-lts/config.tests/common
Thiago Macieira 032f0f543e Fix building of the C++11 config.test on Windows with ICL
The Intel compiler does support C++11 options on the command-line.
configure.exe will correctly try to run it, but the test would fail for
incorrect reasons.

First, we need to pass the option -Qstd=c++11 to enable it.

Second, on Windows, the GCC experimental define isn't defined, nor is
__cplusplus updated yet. So we have to rely on the Intel-specific macro.

Third, we need CONFIG += console so that the application succeeds in
linking against a main() function, as opposed to a WinMain one.

Change-Id: I8f3252189df4f8854a9d9aa2cd919c288d2df420
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-06-27 08:28:01 +02:00
..
avx Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
avx2 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
c++11 Fix building of the C++11 config.test on Windows with ICL 2014-06-27 08:28:01 +02:00
sse2 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
sse3 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
sse4_1 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
sse4_2 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00
ssse3 Disable app_bundle and lib_bundle when running configure tests 2013-07-16 13:44:18 +02:00