-rw-r--r-- | mkspecs/win32-icc/qmake.conf | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/mkspecs/win32-icc/qmake.conf b/mkspecs/win32-icc/qmake.conf index f7b43b9..088c7f5 100644 --- a/mkspecs/win32-icc/qmake.conf +++ b/mkspecs/win32-icc/qmake.conf | |||
@@ -1,15 +1,17 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for Win32/Intel C++ | 4 | # qmake configuration for win32-icc |
5 | # | ||
6 | # Written for Intel C++ 5.0.1, 6.0.1, and 7.0 for Windows. | ||
5 | # | 7 | # |
6 | 8 | ||
7 | MAKEFILE_GENERATOR= MSVC | 9 | MAKEFILE_GENERATOR= MSVC |
8 | TEMPLATE = app | 10 | TEMPLATE = app |
9 | CONFIG += qt warn_on release incremental | 11 | CONFIG += qt warn_on release incremental link_prl |
10 | DEFINES += UNICODE | 12 | DEFINES += UNICODE |
11 | 13 | ||
12 | exists( $(QTDIR)\.qtwinconfig ) { | 14 | exists( $(QTDIR)\.qtwinconfig ) { |
13 | include( $(QTDIR)\.qtwinconfig ) | 15 | include( $(QTDIR)\.qtwinconfig ) |
14 | } | 16 | } |
15 | 17 | ||
@@ -18,51 +20,54 @@ QMAKE_LEX = flex | |||
18 | QMAKE_LEXFLAGS = | 20 | QMAKE_LEXFLAGS = |
19 | QMAKE_YACC = byacc | 21 | QMAKE_YACC = byacc |
20 | QMAKE_YACCFLAGS = -d | 22 | QMAKE_YACCFLAGS = -d |
21 | QMAKE_CFLAGS = -nologo -Zm200 $(CFLAGS_EXTRA) | 23 | QMAKE_CFLAGS = -nologo -Zm200 $(CFLAGS_EXTRA) |
22 | QMAKE_CFLAGS_WARN_ON= -W3 | 24 | QMAKE_CFLAGS_WARN_ON= -W3 |
23 | QMAKE_CFLAGS_WARN_OFF= -W0 | 25 | QMAKE_CFLAGS_WARN_OFF= -W0 |
24 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -Od -Ob1s) | 26 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), ) |
25 | QMAKE_CFLAGS_DEBUG= -Zi | 27 | QMAKE_CFLAGS_DEBUG= -Zi -Od |
26 | QMAKE_CFLAGS_MT = -MD | 28 | QMAKE_CFLAGS_MT = -MD |
27 | QMAKE_CFLAGS_MT_DBG= -MDd | 29 | QMAKE_CFLAGS_MT_DBG= -MDd |
28 | QMAKE_CFLAGS_MT_DLL= -MD | 30 | QMAKE_CFLAGS_MT_DLL= -MD |
29 | QMAKE_CFLAGS_MT_DLLDBG= -MDd | 31 | QMAKE_CFLAGS_MT_DLLDBG= -MDd |
30 | QMAKE_CFLAGS_YACC= | 32 | QMAKE_CFLAGS_YACC= |
31 | 33 | QMAKE_CFLAGS_STL_ON= -GX | |
32 | contains(CONFIG,stl){ | 34 | QMAKE_CFLAGS_STL_OFF= |
33 | QMAKE_CFLAGS+= -GX $(CFLAGS_EXTRA) | 35 | QMAKE_CFLAGS_RTTI_ON= -GR |
34 | } | 36 | QMAKE_CFLAGS_RTTI_OFF= |
35 | contains(CONFIG,exceptions){ | 37 | QMAKE_CFLAGS_EXCEPTIONS_ON = -GX |
36 | QMAKE_CFLAGS += -GX | 38 | QMAKE_CFLAGS_EXCEPTIONS_OFF = |
37 | } | ||
38 | contains(CONFIG,rtti){ | ||
39 | QMAKE_CFLAGS+= -GR $(CFLAGS_EXTRA) | ||
40 | } | ||
41 | 39 | ||
42 | QMAKE_CXX = $$QMAKE_CC | 40 | QMAKE_CXX = $$QMAKE_CC |
43 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) | 41 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) |
44 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 42 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
45 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 43 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
46 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 44 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
47 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 45 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
48 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT | 46 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT |
49 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG | 47 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG |
50 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL | 48 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL |
51 | QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG | 49 | QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG |
52 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 50 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
53 | QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL | 51 | QMAKE_CXXFLAGS_STL_ON= $$QMAKE_CFLAGS_STL_ON |
52 | QMAKE_CXXFLAGS_STL_OFF= $$QMAKE_CFLAGS_STL_OFF | ||
53 | QMAKE_CXXFLAGS_RTTI_ON= $$QMAKE_CFLAGS_RTTI_ON | ||
54 | QMAKE_CXXFLAGS_RTTI_OFF= $$QMAKE_CFLAGS_RTTI_OFF | ||
55 | QMAKE_CXXFLAGS_EXCEPTIONS_ON = $$QMAKE_CFLAGS_EXCEPTIONS_ON | ||
56 | QMAKE_CXXFLAGS_EXCEPTIONS_OFF = $$QMAKE_CFLAGS_EXCEPTIONS_OFF | ||
54 | 57 | ||
55 | QMAKE_INCDIR = | 58 | QMAKE_INCDIR = |
56 | QMAKE_INCDIR_QT = $(QTDIR)\include | 59 | QMAKE_INCDIR_QT = $(QTDIR)\include |
57 | QMAKE_LIBDIR_QT = $(QTDIR)\lib | 60 | QMAKE_LIBDIR_QT = $(QTDIR)\lib |
58 | 61 | ||
59 | QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src | 62 | QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src |
60 | QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< | 63 | QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< |
64 | QMAKE_RUN_CC_IMP_BATCH= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<< | ||
61 | QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src | 65 | QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src |
62 | QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< | 66 | QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< |
67 | QMAKE_RUN_CXX_IMP_BATCH= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<< | ||
63 | 68 | ||
64 | QMAKE_LINK = link | 69 | QMAKE_LINK = link |
65 | QMAKE_LFLAGS = /NOLOGO $(LFLAGS_EXTRA) | 70 | QMAKE_LFLAGS = /NOLOGO $(LFLAGS_EXTRA) |
66 | QMAKE_LFLAGS_RELEASE= delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll | 71 | QMAKE_LFLAGS_RELEASE= delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll |
67 | QMAKE_LFLAGS_DEBUG= /DEBUG | 72 | QMAKE_LFLAGS_DEBUG= /DEBUG |
68 | QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console | 73 | QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console |
@@ -71,15 +76,15 @@ QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL | |||
71 | QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL | 76 | QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL |
72 | QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000 | 77 | QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000 |
73 | 78 | ||
74 | QMAKE_LIBS = $(LIBS_EXTRA) | 79 | QMAKE_LIBS = $(LIBS_EXTRA) |
75 | QMAKE_LIBS_CONSOLE= | 80 | QMAKE_LIBS_CONSOLE= |
76 | QMAKE_LIBS_WINDOWS= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib | 81 | QMAKE_LIBS_WINDOWS= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib |
77 | QMAKE_LIBS_QT = $(QTDIR)\lib\qt.lib | 82 | QMAKE_LIBS_QT = qt.lib |
78 | QMAKE_LIBS_QT_THREAD= $(QTDIR)\lib\qt-mt.lib | 83 | QMAKE_LIBS_QT_THREAD= qt-mt.lib |
79 | QMAKE_LIBS_QT_ENTRY= $(QTDIR)\lib\qtmain.lib | 84 | QMAKE_LIBS_QT_ENTRY= qtmain.lib |
80 | 85 | ||
81 | QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib | 86 | QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib |
82 | QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll | 87 | QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll |
83 | 88 | ||
84 | QMAKE_MOC = $(QTDIR)\bin\moc.exe | 89 | QMAKE_MOC = $(QTDIR)\bin\moc.exe |
85 | QMAKE_UIC = $(QTDIR)\bin\uic.exe | 90 | QMAKE_UIC = $(QTDIR)\bin\uic.exe |
@@ -91,9 +96,11 @@ QMAKE_RC = rc | |||
91 | 96 | ||
92 | QMAKE_ZIP = zip -r -9 | 97 | QMAKE_ZIP = zip -r -9 |
93 | 98 | ||
94 | QMAKE_COPY = copy | 99 | QMAKE_COPY = copy |
95 | QMAKE_MOVE = move | 100 | QMAKE_MOVE = move |
96 | QMAKE_DEL_FILE = del | 101 | QMAKE_DEL_FILE = del |
97 | QMAKE_DEL_DIR = deltree | 102 | QMAKE_DEL_DIR = rmdir |
103 | QMAKE_CHK_DIR_EXISTS= if not exist | ||
104 | QMAKE_MKDIR = mkdir | ||
98 | 105 | ||
99 | DSP_EXTENSION = .dsp | 106 | DSP_EXTENSION = .dsp |