summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-28 20:40:35 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-28 20:40:35 (GMT)
commit9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a (patch)
tree62bbc9236a49a4f235b010bd433745a7a7870f68 /Source/cmLocalVisualStudio7Generator.cxx
parent7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (diff)
downloadCMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.zip
CMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.tar.gz
CMake-9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a.tar.bz2
BUG: Fix/cleanup custom commands and custom targets. Make empty comment strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 2cdca06..463f8db 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -44,11 +44,11 @@ void cmLocalVisualStudio7Generator::Generate()
lang.insert("IDL");
lang.insert("DEF");
this->CreateCustomTargetsAndCommands(lang);
- this->FixTargets();
+ this->FixGlobalTargets();
this->OutputVCProjFile();
}
-void cmLocalVisualStudio7Generator::FixTargets()
+void cmLocalVisualStudio7Generator::FixGlobalTargets()
{
// Visual Studio .NET 2003 Service Pack 1 will not run post-build
// commands for targets in which no sources are built. Add dummy
@@ -58,8 +58,7 @@ void cmLocalVisualStudio7Generator::FixTargets()
l != tgts.end(); l++)
{
cmTarget& tgt = l->second;
- if(tgt.GetType() == cmTarget::GLOBAL_TARGET ||
- tgt.GetType() == cmTarget::UTILITY)
+ if(tgt.GetType() == cmTarget::GLOBAL_TARGET)
{
std::vector<std::string> no_depends;
cmCustomCommandLine force_command;