summaryrefslogtreecommitdiff
path: root/mkspecs/win32-msvc
authorkergoth <kergoth>2002-11-06 22:45:24 (UTC)
committer kergoth <kergoth>2002-11-06 22:45:24 (UTC)
commite44cdb16632a4c904d8c43471fea1f8e790c7651 (patch) (unidiff)
tree6533f63c234a24959587aa49de0934f7b35ce26f /mkspecs/win32-msvc
parent86a2bf4747f46a9915dffac376b888faa5400ec8 (diff)
downloadopie-e44cdb16632a4c904d8c43471fea1f8e790c7651.zip
opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.gz
opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.bz2
allow a means of overriding CFLAGS_RELEASE, as a means of passing in optimizations
Diffstat (limited to 'mkspecs/win32-msvc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/win32-msvc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/win32-msvc/qmake.conf b/mkspecs/win32-msvc/qmake.conf
index f3be273..3a6e650 100644
--- a/mkspecs/win32-msvc/qmake.conf
+++ b/mkspecs/win32-msvc/qmake.conf
@@ -1,72 +1,72 @@
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
12exists( $(QTDIR)\.qtwinconfig ) { 12exists( $(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 $(CFLAGS_EXTRA) 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= $(if $(CFLAGS_RELEASE),$(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
32contains(CONFIG,stl){ 32contains(CONFIG,stl){
33 QMAKE_CFLAGS+= -GX $(CFLAGS_EXTRA) 33 QMAKE_CFLAGS+= -GX $(CFLAGS_EXTRA)
34} 34}
35contains(CONFIG,exceptions){ 35contains(CONFIG,exceptions){
36 QMAKE_CFLAGS += -GX 36 QMAKE_CFLAGS += -GX
37} 37}
38contains(CONFIG,rtti){ 38contains(CONFIG,rtti){
39 QMAKE_CFLAGS+= -GR $(CFLAGS_EXTRA) 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 $(CXXFLAGS_EXTRA) 43 QMAKE_CXXFLAGS = $$Q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IR)\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 $(LFLAGS_EXTRA) 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
70QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL 70QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL
71QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL 71QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL
72 QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000 72 QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000