diff options
author | Brad King <brad.king@kitware.com> | 2006-09-28 17:55:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-28 17:55:26 (GMT) |
commit | 7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (patch) | |
tree | 3ae6b364d9f04d7cdcacd6ddc8ddd8f9e9bc0063 /Source/cmGlobalVisualStudio6Generator.cxx | |
parent | 506dca3990e56281bd0eecd6c26afe6d36caab6e (diff) | |
download | CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.zip CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.gz CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.bz2 |
ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index 88579e7..70b2ad5 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -162,7 +162,6 @@ void cmGlobalVisualStudio6Generator::Generate() { // add a special target that depends on ALL projects for easy build // of one configuration only. - const char* no_output = 0; std::vector<std::string> no_depends; const char* no_working_dir = 0; std::map<cmStdString, std::vector<cmLocalGenerator*> >::iterator it; @@ -173,7 +172,7 @@ void cmGlobalVisualStudio6Generator::Generate() if(gen.size()) { gen[0]->GetMakefile()->AddUtilityCommand("ALL_BUILD", false, - no_output, no_depends, + no_depends, no_working_dir, "echo", "Build all projects"); } |