|
1 # |
|
2 # qmake configuration for win32-icc |
|
3 # |
|
4 # Written for Intel C++ |
|
5 # |
|
6 |
|
7 MAKEFILE_GENERATOR = MSVC |
|
8 TEMPLATE = app |
|
9 CONFIG += qt warn_on release incremental flat link_prl copy_dir_files debug_and_release debug_and_release_target |
|
10 QT += core gui |
|
11 DEFINES += UNICODE QT_LARGEFILE_SUPPORT |
|
12 QMAKE_COMPILER_DEFINES += __INTEL_COMPILER WIN32 |
|
13 |
|
14 QMAKE_CC = icl |
|
15 QMAKE_LEX = flex |
|
16 QMAKE_LEXFLAGS = |
|
17 QMAKE_YACC = byacc |
|
18 QMAKE_YACCFLAGS = -d |
|
19 QMAKE_CFLAGS = -nologo -Zm200 /Qprec /Qwd1744,1738 |
|
20 QMAKE_CFLAGS_WARN_ON = -W3 /Qwd673 |
|
21 QMAKE_CFLAGS_WARN_OFF = -W0 /Qwd673 |
|
22 QMAKE_CFLAGS_RELEASE = -O2 -MD |
|
23 # Giving -O2 to debug builds should make icc 9.1 happy, but it might make debugging harder, so it might be reverted. |
|
24 # This is actually a workaround for a bug in icc 9.1. |
|
25 QMAKE_CFLAGS_DEBUG = -Zi -MDd -O2 |
|
26 QMAKE_CFLAGS_YACC = |
|
27 |
|
28 QMAKE_CXX = $$QMAKE_CC |
|
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS /Zc:forScope |
|
30 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON |
|
31 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF |
|
32 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE |
|
33 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG |
|
34 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
35 QMAKE_CXXFLAGS_STL_ON = -GX |
|
36 QMAKE_CXXFLAGS_STL_OFF = |
|
37 QMAKE_CXXFLAGS_RTTI_ON = -GR |
|
38 QMAKE_CXXFLAGS_RTTI_OFF = |
|
39 QMAKE_CXXFLAGS_EXCEPTIONS_ON = -GX |
|
40 QMAKE_CXXFLAGS_EXCEPTIONS_OFF = |
|
41 |
|
42 QMAKE_INCDIR = |
|
43 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
44 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
45 |
|
46 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src |
|
47 QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< |
|
48 QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<< |
|
49 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src |
|
50 QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< |
|
51 QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<< |
|
52 |
|
53 QMAKE_LINK = link |
|
54 QMAKE_LFLAGS = /NOLOGO |
|
55 QMAKE_LFLAGS_RELEASE = |
|
56 QMAKE_LFLAGS_DEBUG = /DEBUG |
|
57 QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:console |
|
58 QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:windows |
|
59 QMAKE_LFLAGS_DLL = /DLL |
|
60 QMAKE_LFLAGS_QT_DLL = /BASE:0x39D00000 |
|
61 |
|
62 QMAKE_LIBS = |
|
63 QMAKE_LIBS_CORE = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib |
|
64 QMAKE_LIBS_GUI = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib |
|
65 QMAKE_LIBS_NETWORK = ws2_32.lib |
|
66 QMAKE_LIBS_OPENGL = opengl32.lib glu32.lib gdi32.lib user32.lib delayimp.lib |
|
67 QMAKE_LIBS_COMPAT = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib |
|
68 QMAKE_LIBS_QT_ENTRY = -lqtmain |
|
69 |
|
70 QMAKE_MOC = $$[QT_INSTALL_BINS]\moc.exe |
|
71 QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe |
|
72 QMAKE_IDC = $$[QT_INSTALL_BINS]\idc.exe |
|
73 |
|
74 QMAKE_IDL = midl |
|
75 QMAKE_LIB = lib /NOLOGO |
|
76 QMAKE_RC = rc |
|
77 |
|
78 QMAKE_ZIP = zip -r -9 |
|
79 |
|
80 QMAKE_COPY = copy /y |
|
81 QMAKE_COPY_DIR = xcopy /s /q /y /i |
|
82 QMAKE_MOVE = move |
|
83 QMAKE_DEL_FILE = del |
|
84 QMAKE_DEL_DIR = rmdir |
|
85 QMAKE_CHK_DIR_EXISTS = if not exist |
|
86 QMAKE_MKDIR = mkdir |
|
87 |
|
88 DSP_EXTENSION = .dsp |
|
89 load(qt_config) |