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/cmGlobalVisualStudio7Generator.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/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 923e468..03595a3 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -216,7 +216,6 @@ void cmGlobalVisualStudio7Generator::Generate() { // add a special target that depends on ALL projects for easy build // of one configuration only. - const char* no_output = 0; const char* no_working_dir = 0; std::vector<std::string> no_depends; std::map<cmStdString, std::vector<cmLocalGenerator*> >::iterator it; @@ -227,7 +226,7 @@ void cmGlobalVisualStudio7Generator::Generate() if(gen.size()) { gen[0]->GetMakefile()-> - AddUtilityCommand("ALL_BUILD", false, no_output, no_depends, + AddUtilityCommand("ALL_BUILD", false, no_depends, no_working_dir, "echo", "Build all projects"); std::string cmake_command = |