]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makevc.env
wxDC scaling fix patch (Derry Bryson)
[wxWidgets.git] / src / makevc.env
index d990d01af22dcc8ecf50ebf1447aa6b57627bd95..71d8e2dca052d5f3ad7d0b9acf7e0bf167022873 100644 (file)
@@ -8,7 +8,11 @@
 #
 !include <ntwin32.mak>
 
-WXVERSION=22_0
+!if "$(RM)" == ""
+RM= erase
+!endif
+
+WXVERSION=23_0
 WIN95=1
 
 !if "$(WIN95)" == "0"
@@ -124,6 +128,10 @@ WXLIBNAME=$(NEW_WXLIBNAME)
 
 !if "$(FINAL)" == "1"
 D=Release
+!else if "$(FINAL)" == "hybrid"
+D=Hybrid
+LIBEXT=h
+WXLIBNAME=$(WXLIBNAME)$(LIBEXT)
 !else
 guilibsdll= oldnames.lib kernel32.lib \
   ws2_32.lib mswsock.lib advapi32.lib user32.lib \
@@ -156,6 +164,13 @@ OPT = /Od /Gy
 DEBUG_FLAGS= /Zi /D__WXDEBUG__ # /DDEBUG=1 # /FR
 LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
 _CRTFLAG=/MDd
+
+!else if "$(FINAL)" == "hybrid"
+OPT = /Od /Gy
+DEBUG_FLAGS= /Zi /D__WXDEBUG__ /D__NO_VC_CRTDBG__
+LINK_DEBUG_FLAGS=-debug:full -debugtype:cv
+_CRTFLAG=/MD
+
 !else
 # /O1 - smallest code
 # /O2 - fastest code
@@ -165,6 +180,7 @@ LINK_DEBUG_FLAGS=/RELEASE
 _CRTFLAG=/MD
 !endif
 
+
 !if "$(CRTFLAG)" == ""
 CRTFLAG=$(_CRTFLAG)
 !endif
@@ -215,3 +231,14 @@ $(CPPFLAGS2) /Fo$@ /c $<
 $(CPPFLAGS2) /Fo$@ /c $<
 <<
 
+#use CPPFLAGS2 so as not to use precompiled headers
+{}.c{$D}.obj:
+       cl @<<
+$(CPPFLAGS2) /Fo$@ /c $<
+<<
+
+{}.cpp{$D}.obj:
+       cl @<<
+$(CPPFLAGS) /Fo$@ /c /Tp $<
+<<
+