source: branches/vendor/trolltech/qt/current/mkspecs/linux-icc/qmake.conf @ 2

Last change on this file since 2 was 2, checked in by Dmitry A. Kuminov, 12 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 3.1 KB
RevLine 
[2]1#
2# qmake configuration for linux-icc
3#
4# Written for Intel C++ Compiler versions 10.x for GNU/Linux
5#
6# Note: Some of the remarks from the Intel compiler are disabled (even
7# with 'warn_on' specified):
8#
9# warning #654: overloaded virtual function "T::f" is only partially overridden in class "U"
10# warning #1572: floating-point equality and inequality comparisons are unreliable
11#
12
13MAKEFILE_GENERATOR      = UNIX
14TEMPLATE                = app
15CONFIG                  += qt warn_on release link_prl
16QT                      += core gui
17
18QMAKE_CC                = icc
19QMAKE_LEX               = flex
20QMAKE_LEXFLAGS          =
21QMAKE_YACC              = yacc
22QMAKE_YACCFLAGS         = -d
23QMAKE_CFLAGS            = -wd654,1572
24QMAKE_CFLAGS_DEPS       = -M
25QMAKE_CFLAGS_WARN_ON    =
26QMAKE_CFLAGS_WARN_OFF   = -w
27QMAKE_CFLAGS_RELEASE    = -O2
28QMAKE_CFLAGS_DEBUG      = -g
29QMAKE_CFLAGS_SHLIB      = -fPIC
30QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
31QMAKE_CFLAGS_YACC       =
32QMAKE_CFLAGS_THREAD     = -D_REENTRANT
33
34QMAKE_CXX               = icpc
35QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
36QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
37QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
38QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
39QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
40QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
41QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
42QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
43QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
44QMAKE_CXXFLAGS_THREAD   = $$QMAKE_CFLAGS_THREAD
45
46QMAKE_INCDIR            =
47QMAKE_LIBDIR            =
48QMAKE_INCDIR_X11        = /usr/X11R6/include
49QMAKE_LIBDIR_X11        = /usr/X11R6/lib
50QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
51QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
52QMAKE_INCDIR_OPENGL     = /usr/X11R6/include
53QMAKE_LIBDIR_OPENGL     = /usr/X11R6/lib
54
55QMAKE_LINK              = icpc
56QMAKE_LINK_SHLIB        = icpc
57QMAKE_LFLAGS            =
58QMAKE_LFLAGS_RELEASE    =
59QMAKE_LFLAGS_DEBUG      =
60QMAKE_LFLAGS_SHLIB      = -shared
61QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
62QMAKE_LFLAGS_SONAME     = -Qoption,ld,-soname,
63QMAKE_LFLAGS_THREAD     =
64QMAKE_RPATH             = -Qoption,ld,-rpath,
65
66QMAKE_LIBS              =
67QMAKE_LIBS_DYNLOAD      = -ldl
68QMAKE_LIBS_X11          = -lXext -lX11 -lm
69QMAKE_LIBS_X11SM        = -lSM -lICE
70QMAKE_LIBS_NIS          = -lnsl
71QMAKE_LIBS_OPENGL       = -lGLU -lGL
72QMAKE_LIBS_OPENGL_QT    = -lGL
73QMAKE_LIBS_THREAD       = -lpthread
74
75QMAKE_MOC               = $$[QT_INSTALL_BINS]/moc
76QMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
77
78QMAKE_AR                = ar cqs
79QMAKE_OBJCOPY           = objcopy
80QMAKE_RANLIB            =
81
82QMAKE_CLEAN             = -r $(OBJECTS_DIR)/ti_files
83
84QMAKE_TAR               = tar -cf
85QMAKE_GZIP              = gzip -9f
86
87QMAKE_COPY              = cp -f
88QMAKE_MOVE              = mv -f
89QMAKE_DEL_FILE          = rm -f
90QMAKE_DEL_DIR           = rmdir
91QMAKE_CHK_DIR_EXISTS    = test -d
92QMAKE_MKDIR             = mkdir -p
93
94# pch support
95CONFIG += icc_pch_style
96QMAKE_PCH_OUTPUT_EXT    = .pchi
97QMAKE_CXXFLAGS_USE_PRECOMPILE = -pch-use ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT}
98QMAKE_CXXFLAGS_PRECOMPILE = -c -pch-create ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_TEMP_OBJECT} ${QMAKE_PCH_TEMP_SOURCE}
99
100# -Bsymbolic-functions (ld) support
101QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Qoption,ld,-Bsymbolic-functions
102QMAKE_LFLAGS_DYNAMIC_LIST = -Qoption,ld,--dynamic-list,
103
104# Symbol visibility control
105QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
106QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
107
108include(../common/unix.conf)
109load(qt_config)
Note: See TracBrowser for help on using the repository browser.