Add MinSize config

This commit is contained in:
James Clark 1998-11-24 09:20:13 +00:00
parent d38b08addb
commit 0a2a79e3fc

View file

@ -19,6 +19,7 @@ CFG=xmlparse - Win32 Release
!MESSAGE
!MESSAGE "xmlparse - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "xmlparse - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "xmlparse - Win32 MinSize" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
@ -82,22 +83,103 @@ LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:I386 /out:"..\dbgbin\xmlparse.dll"
!ELSEIF "$(CFG)" == "xmlparse - Win32 MinSize"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "MinSize"
# PROP BASE Intermediate_Dir "MinSize"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "MinSize"
# PROP Intermediate_Dir "MinSize"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\xmltok" /I "..\xmlwf" /D XMLTOKAPI=__declspec(dllimport) /D XMLPARSEAPI=__declspec(dllexport) /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "XML_NS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O1 /I "..\xmltok" /I "..\xmlwf" /D "XML_MIN_SIZE" /D "XML_WINLIB" /D XMLPARSEAPI=__declspec(dllexport) /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:I386 /out:"..\bin\xmlparse.dll"
# SUBTRACT BASE LINK32 /profile
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x20000000" /entry:"DllMain" /subsystem:windows /dll /machine:I386 /out:"..\bin\xmlparse.dll"
# SUBTRACT LINK32 /profile /nodefaultlib
!ENDIF
# Begin Target
# Name "xmlparse - Win32 Release"
# Name "xmlparse - Win32 Debug"
# Name "xmlparse - Win32 MinSize"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90"
# Begin Source File
SOURCE=..\xmltok\dllmain.c
!IF "$(CFG)" == "xmlparse - Win32 Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 MinSize"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\hashtable.c
# End Source File
# Begin Source File
SOURCE=.\xmlparse.c
# End Source File
# Begin Source File
SOURCE=..\xmltok\xmlrole.c
!IF "$(CFG)" == "xmlparse - Win32 Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 MinSize"
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\xmltok\xmltok.c
!IF "$(CFG)" == "xmlparse - Win32 Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "xmlparse - Win32 MinSize"
!ENDIF
# End Source File
# End Group
# Begin Group "Header Files"
@ -109,6 +191,10 @@ SOURCE=.\hashtable.h
# End Source File
# Begin Source File
SOURCE=..\xmltok\xmldef.h
# End Source File
# Begin Source File
SOURCE=.\xmlparse.h
# End Source File
# End Group