summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-28 17:55:26 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-28 17:55:26 (GMT)
commit7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (patch)
tree3ae6b364d9f04d7cdcacd6ddc8ddd8f9e9bc0063 /Source/cmGlobalXCodeGenerator.cxx
parent506dca3990e56281bd0eecd6c26afe6d36caab6e (diff)
downloadCMake-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/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 728e37e..dbdf8d1 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -281,10 +281,9 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
{
cmMakefile* mf = root->GetMakefile();
// Add ALL_BUILD
- const char* no_output = 0;
const char* no_working_directory = 0;
std::vector<std::string> no_depends;
- mf->AddUtilityCommand("ALL_BUILD", false, no_output, no_depends,
+ mf->AddUtilityCommand("ALL_BUILD", false, no_depends,
no_working_directory,
"echo", "Build all projects");
cmTarget* allbuild = mf->FindTarget("ALL_BUILD");
@@ -307,7 +306,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
}
cmCustomCommandLines commandLines;
commandLines.push_back(makecommand);
- mf->AddUtilityCommand("XCODE_DEPEND_HELPER", false, no_output,
+ mf->AddUtilityCommand("XCODE_DEPEND_HELPER", false,
no_working_directory,
no_depends,
commandLines);