summaryrefslogtreecommitdiffstats
path: root/Templates/staticLibHeader.dsptemplate
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-11-09 18:00:53 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-11-09 18:00:53 (GMT)
commit722283804b7d3b04e90daac84465c53130748ee0 (patch)
treefa0d56a7132e4593309b1186a4b89f44291333e0 /Templates/staticLibHeader.dsptemplate
parent123f9b50eaf9b31b56144454658b0f629dda2cbb (diff)
downloadCMake-722283804b7d3b04e90daac84465c53130748ee0.zip
CMake-722283804b7d3b04e90daac84465c53130748ee0.tar.gz
CMake-722283804b7d3b04e90daac84465c53130748ee0.tar.bz2
support for custom targets on exe and lib
Diffstat (limited to 'Templates/staticLibHeader.dsptemplate')
-rw-r--r--Templates/staticLibHeader.dsptemplate9
1 files changed, 9 insertions, 0 deletions
diff --git a/Templates/staticLibHeader.dsptemplate b/Templates/staticLibHeader.dsptemplate
index c6a72ca..b2dcb2e 100644
--- a/Templates/staticLibHeader.dsptemplate
+++ b/Templates/staticLibHeader.dsptemplate
@@ -67,6 +67,8 @@ LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
+CMAKE_CUSTOM_RULE_CODE
+
!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 Debug"
# PROP BASE Use_MFC CMAKE_MFC_FLAG
@@ -91,6 +93,9 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
+
+CMAKE_CUSTOM_RULE_CODE
+
!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 MinSizeRel"
# PROP BASE Use_MFC CMAKE_MFC_FLAG
@@ -118,6 +123,8 @@ LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
+CMAKE_CUSTOM_RULE_CODE
+
!ELSEIF "$(CFG)" == "OUTPUT_LIBNAME - Win32 RelWithDebInfo"
# PROP BASE Use_MFC CMAKE_MFC_FLAG
@@ -144,6 +151,8 @@ LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
+CMAKE_CUSTOM_RULE_CODE
+
!ENDIF
# Begin Target