switch /MD /MDd depend on FINAL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (JL) 1999-10-07 07:55:08 +00:00
parent 66242c8007
commit d604ea3355
2 changed files with 11 additions and 2 deletions

View File

@ -29,8 +29,8 @@ PRECOMP=/YuWX.H
!if "$(FINAL)" == "0" !if "$(FINAL)" == "0"
OPT = /Od OPT = /Od
CPPFLAGS= /W4 /Zi /MD /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC) CPPFLAGS= /W4 /Zi /MDd /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC)
CFLAGS= /W4 /Zi /MD /GX /Od /D__WXMSW__ $(INC) CFLAGS= /W4 /Zi /MDd /GX /Od /D__WXMSW__ $(INC)
LINKFLAGS=/NOD /CO /ONERROR:NOEXE LINKFLAGS=/NOD /CO /ONERROR:NOEXE
!else !else
# /Ox for real FINAL version # /Ox for real FINAL version

View File

@ -10,7 +10,16 @@
# See zconf.h for details about the memory requirements. # See zconf.h for details about the memory requirements.
# ------------- Turbo C++, Borland C++ ------------- # ------------- Turbo C++, Borland C++ -------------
!ifndef FINAL
FINAL=0
!endif
!if "$(FINAL)" == "0"
CFLAGS=/Od /MDd /GX
!else
CFLAGS=-O2 /MD /GX CFLAGS=-O2 /MD /GX
!endif
CC=cl CC=cl
LD=cl LD=cl
LIB=tlib LIB=tlib