summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-28 23:59:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-28 23:59:19 (GMT)
commitb1a74218401a6d990b570cae8141cad97fb8dc19 (patch)
tree3775e35ac3f08525ad6808e53f0faf027fe9f357 /Source/cmLocalVisualStudio6Generator.cxx
parent6ab87555ea483601cb1829f3b6e9d3d77d6746ff (diff)
downloadCMake-b1a74218401a6d990b570cae8141cad97fb8dc19.zip
CMake-b1a74218401a6d990b570cae8141cad97fb8dc19.tar.gz
CMake-b1a74218401a6d990b570cae8141cad97fb8dc19.tar.bz2
ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx27
1 files changed, 14 insertions, 13 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 0d3f8ca..28b08df 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -97,9 +97,6 @@ void cmLocalVisualStudio6Generator::OutputDSPFile()
case cmTarget::EXECUTABLE:
this->SetBuildType(EXECUTABLE,l->first.c_str(), l->second);
break;
- case cmTarget::WIN32_EXECUTABLE:
- this->SetBuildType(WIN32_EXECUTABLE,l->first.c_str(), l->second);
- break;
case cmTarget::UTILITY:
this->SetBuildType(UTILITY, l->first.c_str(), l->second);
break;
@@ -581,16 +578,20 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
m_DSPFooterTemplate += "/DLLFooter.dsptemplate";
break;
case EXECUTABLE:
- m_DSPHeaderTemplate = root;
- m_DSPHeaderTemplate += "/EXEHeader.dsptemplate";
- m_DSPFooterTemplate = root;
- m_DSPFooterTemplate += "/EXEFooter.dsptemplate";
- break;
- case WIN32_EXECUTABLE:
- m_DSPHeaderTemplate = root;
- m_DSPHeaderTemplate += "/EXEWinHeader.dsptemplate";
- m_DSPFooterTemplate = root;
- m_DSPFooterTemplate += "/EXEFooter.dsptemplate";
+ if ( target.GetPropertyAsBool("WIN32_EXECUTABLE") )
+ {
+ m_DSPHeaderTemplate = root;
+ m_DSPHeaderTemplate += "/EXEWinHeader.dsptemplate";
+ m_DSPFooterTemplate = root;
+ m_DSPFooterTemplate += "/EXEFooter.dsptemplate";
+ }
+ else
+ {
+ m_DSPHeaderTemplate = root;
+ m_DSPHeaderTemplate += "/EXEHeader.dsptemplate";
+ m_DSPFooterTemplate = root;
+ m_DSPFooterTemplate += "/EXEFooter.dsptemplate";
+ }
break;
case UTILITY:
m_DSPHeaderTemplate = root;