-rw-r--r-- | mkspecs/win32-msvc/qmake.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mkspecs/win32-msvc/qmake.conf b/mkspecs/win32-msvc/qmake.conf index 19462e4..f3be273 100644 --- a/mkspecs/win32-msvc/qmake.conf +++ b/mkspecs/win32-msvc/qmake.conf | |||
@@ -1,99 +1,99 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for Win32/Microsoft C++ | 4 | # qmake configuration for Win32/Microsoft C++ |
5 | # | 5 | # |
6 | 6 | ||
7 | MAKEFILE_GENERATOR= MSVC | 7 | MAKEFILE_GENERATOR= MSVC |
8 | TEMPLATE = app | 8 | TEMPLATE = app |
9 | CONFIG += qt warn_on release incremental flat | 9 | CONFIG += qt warn_on release incremental flat |
10 | DEFINES += UNICODE | 10 | DEFINES += UNICODE |
11 | 11 | ||
12 | exists( $(QTDIR)\.qtwinconfig ) { | 12 | exists( $(QTDIR)\.qtwinconfig ) { |
13 | include( $(QTDIR)\.qtwinconfig ) | 13 | include( $(QTDIR)\.qtwinconfig ) |
14 | } | 14 | } |
15 | 15 | ||
16 | QMAKE_CC = cl | 16 | QMAKE_CC = cl |
17 | QMAKE_LEX = flex | 17 | QMAKE_LEX = flex |
18 | QMAKE_LEXFLAGS = | 18 | QMAKE_LEXFLAGS = |
19 | QMAKE_YACC = byacc | 19 | QMAKE_YACC = byacc |
20 | QMAKE_YACCFLAGS = -d | 20 | QMAKE_YACCFLAGS = -d |
21 | QMAKE_CFLAGS = -nologo -Zm200 | 21 | QMAKE_CFLAGS = -nologo -Zm200 $(CFLAGS_EXTRA) |
22 | QMAKE_CFLAGS_WARN_ON= -W3 | 22 | QMAKE_CFLAGS_WARN_ON= -W3 |
23 | QMAKE_CFLAGS_WARN_OFF= -W0 | 23 | QMAKE_CFLAGS_WARN_OFF= -W0 |
24 | QMAKE_CFLAGS_RELEASE= -O1 | 24 | QMAKE_CFLAGS_RELEASE= -O1 |
25 | QMAKE_CFLAGS_DEBUG= -Zi | 25 | QMAKE_CFLAGS_DEBUG= -Zi |
26 | QMAKE_CFLAGS_MT = -MD | 26 | QMAKE_CFLAGS_MT = -MD |
27 | QMAKE_CFLAGS_MT_DBG= -MDd | 27 | QMAKE_CFLAGS_MT_DBG= -MDd |
28 | QMAKE_CFLAGS_MT_DLL= -MD | 28 | QMAKE_CFLAGS_MT_DLL= -MD |
29 | QMAKE_CFLAGS_MT_DLLDBG= -MDd | 29 | QMAKE_CFLAGS_MT_DLLDBG= -MDd |
30 | QMAKE_CFLAGS_YACC= | 30 | QMAKE_CFLAGS_YACC= |
31 | 31 | ||
32 | contains(CONFIG,stl){ | 32 | contains(CONFIG,stl){ |
33 | QMAKE_CFLAGS+= -GX | 33 | QMAKE_CFLAGS+= -GX $(CFLAGS_EXTRA) |
34 | } | 34 | } |
35 | contains(CONFIG,exceptions){ | 35 | contains(CONFIG,exceptions){ |
36 | QMAKE_CFLAGS += -GX | 36 | QMAKE_CFLAGS += -GX |
37 | } | 37 | } |
38 | contains(CONFIG,rtti){ | 38 | contains(CONFIG,rtti){ |
39 | QMAKE_CFLAGS+= -GR | 39 | QMAKE_CFLAGS+= -GR $(CFLAGS_EXTRA) |
40 | } | 40 | } |
41 | 41 | ||
42 | QMAKE_CXX = $$QMAKE_CC | 42 | QMAKE_CXX = $$QMAKE_CC |
43 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS | 43 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) |
44 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 44 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
45 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 45 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
46 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 46 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
47 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 47 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
48 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT | 48 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT |
49 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG | 49 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG |
50 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL | 50 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL |
51 | QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG | 51 | QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG |
52 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 52 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
53 | QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL | 53 | QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL |
54 | 54 | ||
55 | QMAKE_INCDIR = | 55 | QMAKE_INCDIR = |
56 | QMAKE_INCDIR_QT = $(QTDIR)\include | 56 | QMAKE_INCDIR_QT = $(QTDIR)\include |
57 | QMAKE_LIBDIR_QT = $(QTDIR)\lib | 57 | QMAKE_LIBDIR_QT = $(QTDIR)\lib |
58 | 58 | ||
59 | QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src | 59 | QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src |
60 | QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< | 60 | QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< |
61 | QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src | 61 | QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src |
62 | QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< | 62 | QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< |
63 | 63 | ||
64 | QMAKE_LINK = link | 64 | QMAKE_LINK = link |
65 | QMAKE_LFLAGS = /NOLOGO | 65 | 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 | 66 | 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 | 67 | QMAKE_LFLAGS_DEBUG= /DEBUG |
68 | QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console | 68 | QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console |
69 | QMAKE_LFLAGS_WINDOWS= /SUBSYSTEM:windows | 69 | QMAKE_LFLAGS_WINDOWS= /SUBSYSTEM:windows |
70 | QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL | 70 | QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL |
71 | QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL | 71 | QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL |
72 | QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000 | 72 | QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000 |
73 | 73 | ||
74 | QMAKE_LIBS = | 74 | QMAKE_LIBS = |
75 | QMAKE_LIBS_CONSOLE= | 75 | 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 | 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 |
77 | QMAKE_LIBS_QT = qt.lib | 77 | QMAKE_LIBS_QT = qt.lib |
78 | QMAKE_LIBS_QT_THREAD= qt-mt.lib | 78 | QMAKE_LIBS_QT_THREAD= qt-mt.lib |
79 | QMAKE_LIBS_QT_ENTRY= qtmain.lib | 79 | QMAKE_LIBS_QT_ENTRY= qtmain.lib |
80 | 80 | ||
81 | QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib | 81 | QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib |
82 | QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll | 82 | QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll |
83 | 83 | ||
84 | QMAKE_MOC = $(QTDIR)\bin\moc.exe | 84 | QMAKE_MOC = $(QTDIR)\bin\moc.exe |
85 | QMAKE_UIC = $(QTDIR)\bin\uic.exe | 85 | QMAKE_UIC = $(QTDIR)\bin\uic.exe |
86 | QMAKE_IDC = $(QTDIR)\bin\idc.exe | 86 | QMAKE_IDC = $(QTDIR)\bin\idc.exe |
87 | 87 | ||
88 | QMAKE_IDL = midl | 88 | QMAKE_IDL = midl |
89 | QMAKE_LIB = lib /NOLOGO | 89 | QMAKE_LIB = lib /NOLOGO |
90 | QMAKE_RC = rc | 90 | QMAKE_RC = rc |
91 | 91 | ||
92 | QMAKE_ZIP = zip -r -9 | 92 | QMAKE_ZIP = zip -r -9 |
93 | 93 | ||
94 | QMAKE_COPY = copy | 94 | QMAKE_COPY = copy |
95 | QMAKE_MOVE = move | 95 | QMAKE_MOVE = move |
96 | QMAKE_DEL_FILE = del | 96 | QMAKE_DEL_FILE = del |
97 | QMAKE_DEL_DIR = deltree | 97 | QMAKE_DEL_DIR = deltree |
98 | 98 | ||
99 | DSP_EXTENSION = .dsp | 99 | DSP_EXTENSION = .dsp |