summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-23 18:05:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-23 18:05:26 (GMT)
commit2eb7fee1fc8520f18dcd1188acc550e736b3a8a2 (patch)
tree0242e3ff5f21ad71dd05a13c46ced98de81e8d04 /Templates
parent566c8d4ba0ab327e4cefe72f0ddace84f4c01b41 (diff)
downloadCMake-2eb7fee1fc8520f18dcd1188acc550e736b3a8a2.zip
CMake-2eb7fee1fc8520f18dcd1188acc550e736b3a8a2.tar.gz
CMake-2eb7fee1fc8520f18dcd1188acc550e736b3a8a2.tar.bz2
ENH: change Release Minsize to MinSizeRel, add MinSizeRel to dll template
Diffstat (limited to 'Templates')
-rw-r--r--Templates/DLLHeader.dsptemplate35
-rw-r--r--Templates/EXEHeader.dsptemplate6
-rw-r--r--Templates/EXEWinHeader.dsptemplate6
-rw-r--r--Templates/UtilityHeader.dsptemplate6
-rw-r--r--Templates/staticLibHeader.dsptemplate6
5 files changed, 44 insertions, 15 deletions
diff --git a/Templates/DLLHeader.dsptemplate b/Templates/DLLHeader.dsptemplate
index 50122f3..a68bd1f 100644
--- a/Templates/DLLHeader.dsptemplate
+++ b/Templates/DLLHeader.dsptemplate
@@ -19,6 +19,7 @@ CFG=OUTPUT_LIBNAME - Win32 Debug
!MESSAGE
!MESSAGE "OUTPUT_LIBNAME - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "OUTPUT_LIBNAME - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "OUTPUT_LIBNAME - Win32 MinSizeRel" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# ITK DSP Header file
@@ -96,11 +97,39 @@ 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 /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 CM_DEBUG_LIBRARIES CM_LIBRARIES 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 /dll /debug /machine:I386 /pdbtype:sept
-!ENDIF
+!ELSEIF "$(CFG)" == "vtkCommon - Win32 MinSizeRel"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "LIBRARY_OUTPUT_PATHReleaseMinSize"
+# PROP BASE Intermediate_Dir "LIBRARY_OUTPUT_PATHReleaseMinSize"
+# PROP BASE Ignore_Export_Lib 0
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "LIBRARY_OUTPUT_PATHReleaseMinSize"
+# PROP Intermediate_Dir "LIBRARY_OUTPUT_PATHReleaseMinSize"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "OUTPUT_LIBNAME_EXPORTS" /FD /c
+# SUBTRACT BASE CPP /YX
+# ADD CPP /nologo /MD /W3 /GR /GX /O1 BUILD_INCLUDES EXTRA_DEFINES /D "VTKDLL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "OUTPUT_LIBNAME_EXPORTS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /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 /stack:0x989680 /dll /machine:I386
+# ADD LINK32 CM_OPTIMIZED_LIBRARIES CM_LIBRARIES 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 /stack:0x989680 /dll /machine:I386
+
+!ENDIF
# Begin Target
# Name "OUTPUT_LIBNAME - Win32 Release"
# Name "OUTPUT_LIBNAME - Win32 Debug"
-
-
+# Name "OUTPUT_LIBNAME - Win32 MinSizeRel"
diff --git a/Templates/EXEHeader.dsptemplate b/Templates/EXEHeader.dsptemplate
index dad58c9..a3dcce2 100644
--- a/Templates/EXEHeader.dsptemplate
+++ b/Templates/EXEHeader.dsptemplate
@@ -32,7 +32,7 @@ CFG=OUTPUT_LIBNAME - Win32 Debug
!MESSAGE
!MESSAGE "OUTPUT_LIBNAME - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "OUTPUT_LIBNAME - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE "OUTPUT_LIBNAME - Win32 Release MinSize" (based on "Win32 (x86) Application")
+!MESSAGE "OUTPUT_LIBNAME - Win32 MinSizeRel" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
@@ -95,7 +95,7 @@ LINK32=link.exe
CM_MULTILINE_DEBUG_LIBRARIES
CM_MULTILINE_LIBRARIES
-!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Release MinSize"
+!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseMinSize"
@@ -125,4 +125,4 @@ CM_MULTILINE_LIBRARIES
# Name "OUTPUT_LIBNAME - Win32 Release"
# Name "OUTPUT_LIBNAME - Win32 Debug"
-# Name "OUTPUT_LIBNAME - Win32 Release MinSize"
+# Name "OUTPUT_LIBNAME - Win32 MinSizeRel"
diff --git a/Templates/EXEWinHeader.dsptemplate b/Templates/EXEWinHeader.dsptemplate
index 1246468..4898b67 100644
--- a/Templates/EXEWinHeader.dsptemplate
+++ b/Templates/EXEWinHeader.dsptemplate
@@ -32,7 +32,7 @@ CFG=OUTPUT_LIBNAME - Win32 Debug
!MESSAGE
!MESSAGE "OUTPUT_LIBNAME - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "OUTPUT_LIBNAME - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE "OUTPUT_LIBNAME - Win32 Release MinSize" (based on "Win32 (x86) Application")
+!MESSAGE "OUTPUT_LIBNAME - Win32 MinSizeRel" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
@@ -98,7 +98,7 @@ CM_MULTILINE_DEBUG_LIBRARIES
CM_MULTILINE_LIBRARIES
-!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Release MinSize"
+!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseMinSize"
@@ -128,4 +128,4 @@ CM_MULTILINE_LIBRARIES
# Name "OUTPUT_LIBNAME - Win32 Release"
# Name "OUTPUT_LIBNAME - Win32 Debug"
-# Name "OUTPUT_LIBNAME - Win32 Release MinSize"
+# Name "OUTPUT_LIBNAME - Win32 MinSizeRel"
diff --git a/Templates/UtilityHeader.dsptemplate b/Templates/UtilityHeader.dsptemplate
index 973ee76..434c7d9 100644
--- a/Templates/UtilityHeader.dsptemplate
+++ b/Templates/UtilityHeader.dsptemplate
@@ -19,7 +19,7 @@ CFG=OUTPUT_LIBNAME - Win32 Debug
!MESSAGE
!MESSAGE "OUTPUT_LIBNAME - Win32 Release" (based on "Win32 (x86) Generic Project")
!MESSAGE "OUTPUT_LIBNAME - Win32 Debug" (based on "Win32 (x86) Generic Project")
-!MESSAGE "OUTPUT_LIBNAME - Win32 Release MinSize" (based on "Win32 (x86) Generic Project")
+!MESSAGE "OUTPUT_LIBNAME - Win32 MinSizeRel" (based on "Win32 (x86) Generic Project")
!MESSAGE
# Begin Project
@@ -54,7 +54,7 @@ MTL=midl.exe
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
-!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Release MinSize"
+!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -73,4 +73,4 @@ MTL=midl.exe
# Name "OUTPUT_LIBNAME - Win32 Release"
# Name "OUTPUT_LIBNAME - Win32 Debug"
-# Name "OUTPUT_LIBNAME - Win32 Release MinSize"
+# Name "OUTPUT_LIBNAME - Win32 MinSizeRel"
diff --git a/Templates/staticLibHeader.dsptemplate b/Templates/staticLibHeader.dsptemplate
index 14fd0cd..8c189a7 100644
--- a/Templates/staticLibHeader.dsptemplate
+++ b/Templates/staticLibHeader.dsptemplate
@@ -32,7 +32,7 @@ CFG=OUTPUT_LIBNAME - Win32 Debug
!MESSAGE
!MESSAGE "OUTPUT_LIBNAME - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "OUTPUT_LIBNAME - Win32 Debug" (based on "Win32 (x86) Static Library")
-!MESSAGE "OUTPUT_LIBNAME - Win32 Release MinSize" (based on "Win32 (x86) Static Library")
+!MESSAGE "OUTPUT_LIBNAME - Win32 MinSizeRel" (based on "Win32 (x86) Static Library")
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
@@ -84,7 +84,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
-!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Release MinSize"
+!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -116,5 +116,5 @@ LIB32=link.exe -lib
# Name "OUTPUT_LIBNAME - Win32 Release"
# Name "OUTPUT_LIBNAME - Win32 Debug"
-# Name "OUTPUT_LIBNAME - Win32 Release MinSize"
+# Name "OUTPUT_LIBNAME - Win32 MinSizeRel"