305f57411d
linux-icc and macx-icc toolchains contain a significant amount of code which can be merged to a common configuration file. as a side effect, such merge resulted in reduction a parts of linux-icc and macx-icc toolchains to the common view. Change-Id: I37d110734eeeb9bd61ca0aa942de380ac8e75f1c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
#
|
|
# qmake configuration for macx-icc
|
|
#
|
|
# Written for Intel C++ Compiler for macOS version 17.0 or higher
|
|
#
|
|
|
|
include(../common/icc-base-unix.conf)
|
|
|
|
# modifications to icc-base-unix.conf
|
|
|
|
CONFIG += app_bundle
|
|
QMAKE_INCREMENTAL_STYLE = sublibs
|
|
QMAKE_COMPILER_DEFINES += __APPLE__
|
|
|
|
QMAKE_COMPILER += clang # icc pretends to be clang too
|
|
|
|
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
|
QMAKE_CFLAGS_THREAD =
|
|
|
|
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
|
|
|
QMAKE_LFLAGS_SHLIB = -single_module -dynamiclib
|
|
QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
|
|
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}
|
|
QMAKE_LFLAGS_HEADERPAD = -headerpad_max_install_names
|
|
|
|
QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE}
|
|
QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
|
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
|
|
|
|
QMAKE_APPLE_DEVICE_ARCHS = x86_64
|
|
|
|
include(../common/macx.conf)
|
|
load(qt_config)
|