0
|
1 |
#
|
|
2 |
# qmake configuration for macx-icc
|
|
3 |
#
|
|
4 |
# Written for Intel C++ Compiler versions 8.x and 9.x for Mac OS X
|
|
5 |
#
|
|
6 |
# Note: Some of the remarks from the Intel compiler are disabled (even
|
|
7 |
# with 'warn_on' specified):
|
|
8 |
#
|
|
9 |
# remark #858: type qualifier on return type is meaningless
|
|
10 |
# warning #1572: floating-point equality and inequality comparisons are unreliable
|
|
11 |
# warning #279: controlling expression is constant
|
|
12 |
# warning #1569: potential redeclared typedef
|
|
13 |
#
|
|
14 |
|
|
15 |
MAKEFILE_GENERATOR = UNIX
|
|
16 |
TEMPLATE = app
|
|
17 |
CONFIG += qt warn_on release link_prl app_bundle
|
|
18 |
QT += core gui
|
|
19 |
QMAKE_INCREMENTAL_STYLE = sublibs
|
|
20 |
QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__
|
|
21 |
|
|
22 |
QMAKE_CC = icc
|
|
23 |
QMAKE_CFLAGS = -wd858,1572,1569,279
|
|
24 |
QMAKE_CFLAGS_DEPS = -M
|
|
25 |
QMAKE_CFLAGS_WARN_ON =
|
|
26 |
QMAKE_CFLAGS_WARN_OFF = -w
|
|
27 |
QMAKE_CFLAGS_RELEASE =
|
|
28 |
QMAKE_CFLAGS_DEBUG = -g
|
|
29 |
QMAKE_CFLAGS_SHLIB = -fpic
|
|
30 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
31 |
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
|
32 |
QMAKE_CFLAGS_THREAD =
|
|
33 |
#QMAKE_CFLAGS_PPC = -arch ppc
|
|
34 |
#QMAKE_CFLAGS_X86 = -arch i386
|
|
35 |
|
|
36 |
QMAKE_OBJECTIVE_CC = gcc
|
|
37 |
QMAKE_OBJECTIVE_CFLAGS = -pipe
|
|
38 |
QMAKE_OBJECTIVE_CFLAGS_WARN_ON = -Wall -W
|
|
39 |
QMAKE_OBJECTIVE_CFLAGS_WARN_OFF = -w
|
|
40 |
QMAKE_OBJECTIVE_CFLAGS_RELEASE = -Os
|
|
41 |
QMAKE_OBJECTIVE_CFLAGS_DEBUG = -g
|
|
42 |
QMAKE_OBJECTIVE_CFLAGS_HIDESYMS = -fvisibility=hidden
|
|
43 |
QMAKE_OBJECTIVE_CFLAGS_PPC = -arch ppc
|
|
44 |
QMAKE_OBJECTIVE_CFLAGS_X86 = -arch i386
|
|
45 |
|
|
46 |
QMAKE_CXX = icpc
|
|
47 |
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
|
48 |
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
|
49 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
50 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
51 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
52 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
53 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
|
54 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
|
55 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
56 |
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
|
57 |
QMAKE_CXXFLAGS_PPC = $$QMAKE_CFLAGS_PPC
|
|
58 |
QMAKE_CXXFLAGS_X86 = $$QMAKE_CFLAGS_X86
|
|
59 |
|
|
60 |
QMAKE_LINK = icpc
|
|
61 |
QMAKE_LINK_SHLIB = icpc
|
|
62 |
QMAKE_LFLAGS = -headerpad_max_install_names
|
|
63 |
QMAKE_LFLAGS_RELEASE =
|
|
64 |
QMAKE_LFLAGS_DEBUG =
|
|
65 |
QMAKE_LFLAGS_SHLIB = -single_module -dynamiclib
|
|
66 |
QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
|
|
67 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
68 |
QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}
|
|
69 |
QMAKE_LFLAGS_THREAD =
|
|
70 |
#QMAKE_LFLAGS_PPC = -arch ppc
|
|
71 |
#QMAKE_LFLAGS_X86 = -arch i386
|
|
72 |
QMAKE_RPATH =
|
|
73 |
|
|
74 |
QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE}
|
|
75 |
QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
|
|
76 |
|
|
77 |
QMAKE_CLEAN = -r $(OBJECTS_DIR)/ti_files
|
|
78 |
|
|
79 |
include(../common/mac.conf)
|
|
80 |
|
|
81 |
load(qt_config)
|