eef2d1af33
Common changes to mingw-w64, ICC on Windows, and MSVC toolchains: - set similar order of variables and its splitting into sections, - set similar order of flags in variables and the way they are set. mingw-w64 toolchain: - move 'gcc-base.conf' include before setting Windows specific flags, similar to include 'msvc-desktop.conf' in ICC on Windows toolchain; this leads to consistency with other toolchains and allows to safely override common GCC variables with Windows specific ones, when needed, - move 'QMAKE_EXT_OBJ' and 'QMAKE_EXT_RES' variables to the linker flags section, according to its purpose. MSVC toolchain: - set flags order in 'CONFIG' variable, similar to mingw-w64 toolchain. Change-Id: I417cc8f7959c669dd504f2c5c11eb879a7989bd4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
#
|
|
# qmake configuration for win32-icc
|
|
#
|
|
# Written for Intel C++ Compiler on Windows / icl 16.0 or higher
|
|
#
|
|
|
|
# Use the Microsoft (R) C/C++ Optimizing Compiler configuration,
|
|
# since ICC on Windows pretends to be MSVC
|
|
|
|
include(../common/msvc-desktop.conf)
|
|
|
|
# modifications to msvc-desktop.conf
|
|
|
|
QMAKE_COMPILER += intel_icl
|
|
|
|
QMAKE_CC = icl
|
|
QMAKE_CFLAGS = -nologo -Zm200 /Qprec /Qwd1744,1738,809,3373
|
|
QMAKE_CFLAGS_WARN_ON = -W3 /Qwd673
|
|
QMAKE_CFLAGS_WARN_OFF = -W0 /Qwd673
|
|
QMAKE_CFLAGS_DEBUG = -Od -Zi -MDd
|
|
QMAKE_CFLAGS_LTCG = -Qipo
|
|
QMAKE_CFLAGS_DISABLE_LTCG = -Qno-ipo
|
|
|
|
QMAKE_CFLAGS_SSE2 = -QxSSE2
|
|
QMAKE_CFLAGS_SSE3 = -QxSSE3
|
|
QMAKE_CFLAGS_SSSE3 = -QxSSSE3
|
|
QMAKE_CFLAGS_SSE4_1 = -QxSSE4.1
|
|
QMAKE_CFLAGS_SSE4_2 = -QxSSE4.2
|
|
QMAKE_CFLAGS_AVX = -QxAVX
|
|
QMAKE_CFLAGS_AVX2 = -QxCORE-AVX2
|
|
QMAKE_CFLAGS_AVX512F += -QxCOMMON-AVX512
|
|
QMAKE_CFLAGS_AVX512CD += -QxCOMMON-AVX512
|
|
QMAKE_CFLAGS_AVX512ER += -QxMIC-AVX512
|
|
QMAKE_CFLAGS_AVX512PF += -QxMIC-AVX512
|
|
QMAKE_CFLAGS_AVX512DQ += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_AVX512BW += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_AVX512VL += -QxCORE-AVX512
|
|
QMAKE_CFLAGS_F16C = $$QMAKE_CFLAGS_AVX2
|
|
|
|
QMAKE_CXX = $$QMAKE_CC
|
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS /Zc:forScope
|
|
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
QMAKE_CXXFLAGS_CXX11 = -Qstd=c++11
|
|
# ICC supports the following but Qt won't compile
|
|
#QMAKE_CXXFLAGS_CXX14 = -Qstd=c++14
|
|
#QMAKE_CXXFLAGS_CXX1Z = -Qstd=c++1z
|
|
QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
|
QMAKE_CXXFLAGS_DISABLE_LTCG = $$QMAKE_CFLAGS_DISABLE_LTCG
|
|
|
|
QMAKE_LINK = xilink
|
|
QMAKE_LFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
|
|
|
QMAKE_LIB = xilib /NOLOGO
|
|
|
|
include(../common/angle.conf)
|
|
|
|
load(qt_config)
|