diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 16:32:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 14:43:34 (GMT) |
commit | aa2407d84d8bcd983b3df294032831bbd54cf25d (patch) | |
tree | d9240e6542a05015e1283f700585162568ab8e1a /Source | |
parent | 610572b7d27e122ebf8e5c5d430019844567a996 (diff) | |
download | CMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.zip CMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.tar.gz CMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.tar.bz2 |
Xcode: Use allBuild target return value.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d6f5a00..91b8186 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -449,10 +449,9 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root, // Add ALL_BUILD const char* no_working_directory = 0; std::vector<std::string> no_depends; - mf->AddUtilityCommand("ALL_BUILD", true, no_depends, + cmTarget* allbuild = mf->AddUtilityCommand("ALL_BUILD", true, no_depends, no_working_directory, "echo", "Build all projects"); - cmTarget* allbuild = mf->FindTarget("ALL_BUILD"); // Refer to the main build configuration file for easy editing. std::string listfile = mf->GetCurrentSourceDirectory(); |