summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 17:35:35 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 17:35:35 -0500
commitc4156b4531668adc0dc9bf37f42758d6db03ff68 (patch)
tree37762d0fda6dadd103b9b4dc2f08facd77cffc35 /Source/cmLocalVisualStudio6Generator.cxx
parent46757656011165aa8c857523c8770cd0ea80c3da (diff)
downloadcmake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.gz
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 d7533b90d4..cf0cbc27ff 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;
}