2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for macx-icc
|
|
|
|
#
|
2013-06-29 00:30:43 +00:00
|
|
|
# Written for Intel C++ Compiler version 14.0 for OS X
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
|
2013-03-14 23:42:15 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2013-03-19 01:57:31 +00:00
|
|
|
CONFIG += app_bundle
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublibs
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-06-29 00:30:43 +00:00
|
|
|
QMAKE_COMPILER = gcc clang intel_icc # icc pretends to be gcc and clang
|
2012-09-13 20:17:33 +00:00
|
|
|
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CC = icc
|
2013-06-29 00:30:43 +00:00
|
|
|
QMAKE_CFLAGS =
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CFLAGS_DEPS = -M
|
2013-06-29 00:30:43 +00:00
|
|
|
QMAKE_CFLAGS_WARN_ON = -w1 -Wcheck -wd654,1572,411,873,1125,2259,2261,3280
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CFLAGS_WARN_OFF = -w
|
|
|
|
QMAKE_CFLAGS_RELEASE =
|
|
|
|
QMAKE_CFLAGS_DEBUG = -g
|
2015-09-02 22:30:32 +00:00
|
|
|
QMAKE_CFLAGS_SHLIB = -fPIC
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
|
|
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
|
|
|
QMAKE_CFLAGS_THREAD =
|
2014-05-12 00:41:40 +00:00
|
|
|
QMAKE_CFLAGS_SPLIT_SECTIONS = -ffunction-sections
|
2014-06-26 21:56:06 +00:00
|
|
|
QMAKE_CFLAGS_LTCG = -ipo
|
2015-09-02 18:48:51 +00:00
|
|
|
QMAKE_CFLAGS_DISABLE_LTCG = -no-ipo
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2014-06-18 22:34:27 +00:00
|
|
|
QMAKE_CFLAGS_SSE2 += -msse2
|
|
|
|
QMAKE_CFLAGS_SSE3 += -msse3
|
|
|
|
QMAKE_CFLAGS_SSSE3 += -mssse3
|
|
|
|
QMAKE_CFLAGS_SSE4_1 += -msse4.1
|
|
|
|
QMAKE_CFLAGS_SSE4_2 += -msse4.2
|
|
|
|
QMAKE_CFLAGS_AVX += -mavx
|
|
|
|
QMAKE_CFLAGS_AVX2 += -march=core-avx2
|
2013-06-29 00:30:43 +00:00
|
|
|
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CXX = icpc
|
|
|
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
|
|
|
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
|
|
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
|
|
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
|
|
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
|
|
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
2014-10-30 00:06:41 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX11 = -std=c++11
|
2015-07-09 00:21:30 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX14 = -std=c++1y
|
|
|
|
QMAKE_CXXFLAGS_CXX1Z = -std=c++1z
|
2015-07-08 21:09:10 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX11 = -std=gnu++11
|
2015-07-09 00:21:30 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX14 = -std=gnu++1y
|
|
|
|
QMAKE_CXXFLAGS_GNUCXX1Z = -std=gnu++1z
|
2014-05-12 00:41:40 +00:00
|
|
|
QMAKE_CXXFLAGS_SPLIT_SECTIONS = $$QMAKE_CFLAGS_SPLIT_SECTIONS
|
2014-06-26 21:56:06 +00:00
|
|
|
QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
2015-09-02 18:48:51 +00:00
|
|
|
QMAKE_CXXFLAGS_DISABLE_LTCG = $$QMAKE_CFLAGS_DISABLE_LTCG
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_LINK = icpc
|
|
|
|
QMAKE_LINK_SHLIB = icpc
|
|
|
|
QMAKE_LFLAGS = -headerpad_max_install_names
|
|
|
|
QMAKE_LFLAGS_RELEASE =
|
|
|
|
QMAKE_LFLAGS_DEBUG =
|
2013-06-29 00:30:43 +00:00
|
|
|
QMAKE_LFLAGS_SHLIB = -single_module -dynamiclib
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
|
|
QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}
|
|
|
|
QMAKE_LFLAGS_THREAD =
|
2014-08-07 11:03:00 +00:00
|
|
|
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
2014-06-26 21:56:06 +00:00
|
|
|
QMAKE_LFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE}
|
|
|
|
QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
|
|
|
|
|
2013-03-14 23:42:15 +00:00
|
|
|
QMAKE_CLEAN = -r $(OBJECTS_DIR)/ti_files
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-06-29 00:30:43 +00:00
|
|
|
# pch support
|
|
|
|
CONFIG += icc_pch_style
|
|
|
|
QMAKE_PCH_OUTPUT_EXT = .pchi
|
|
|
|
QMAKE_CXXFLAGS_USE_PRECOMPILE = -pch-use ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT}
|
|
|
|
QMAKE_CXXFLAGS_PRECOMPILE = -c -pch-create ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_TEMP_OBJECT} ${QMAKE_PCH_TEMP_SOURCE}
|
|
|
|
|
|
|
|
# Symbol visibility control
|
|
|
|
QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
|
|
|
|
QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
|
|
|
|
|
2014-10-30 00:10:41 +00:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
|
2013-06-29 00:30:43 +00:00
|
|
|
|
2013-03-02 14:13:38 +00:00
|
|
|
include(../common/macx.conf)
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
load(qt_config)
|