summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 22:35:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 22:35:35 (GMT)
commitc4156b4531668adc0dc9bf37f42758d6db03ff68 (patch)
tree37762d0fda6dadd103b9b4dc2f08facd77cffc35 /Source/cmLocalVisualStudio6Generator.cxx
parent46757656011165aa8c857523c8770cd0ea80c3da (diff)
downloadCMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.zip
CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.gz
CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.bz2
COMP: Even more global target fixes
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index d7533b9..cf0cbc2 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -455,8 +455,8 @@ void cmLocalVisualStudio6Generator::WriteGroup(const cmSourceGroup *sg, cmTarget
{
cmSystemTools::ExpandListArgument(dependsValue, depends);
}
- if (source != libName || target.GetType() == cmTarget::UTILITY
- || target.GetType() == cmTarget::GLOBAL_TARGET)
+ if (source != libName || target.GetType() == cmTarget::UTILITY ||
+ target.GetType() == cmTarget::GLOBAL_TARGET)
{
fout << "# Begin Source File\n\n";
@@ -721,8 +721,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(cmTarget &target,
{
std::string customRuleCode = "";
- if (target.GetType() >= cmTarget::UTILITY ||
- target.GetType() >= cmTarget::GLOBAL_TARGET)
+ if (target.GetType() >= cmTarget::UTILITY )
{
return customRuleCode;
}