summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-12 19:44:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-07 06:37:57 (GMT)
commit776ff8eb0b8d790c63f8ad6bb6689620e6e04cb4 (patch)
tree975f9859004fa6f69b5911e12d94560e0f51b37d /Source/cmGlobalXCodeGenerator.cxx
parent64f73150b8e5e5cad216444c0468e8e59434d973 (diff)
downloadCMake-776ff8eb0b8d790c63f8ad6bb6689620e6e04cb4.zip
CMake-776ff8eb0b8d790c63f8ad6bb6689620e6e04cb4.tar.gz
CMake-776ff8eb0b8d790c63f8ad6bb6689620e6e04cb4.tar.bz2
cmTarget: Add Compute API for sources.
This method is a refactoring artifact. It will be removed in a follow-up.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 3d52e3a..14bc340 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -456,6 +456,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
no_working_directory,
"echo", "Build all projects");
+ allbuild->Compute();
cmGeneratorTarget* allBuildGt = new cmGeneratorTarget(allbuild, root);
mf->AddGeneratorTarget(allbuild, allBuildGt);
@@ -491,6 +492,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
no_working_directory,
"make", "-f", file.c_str());
+ check->Compute();
cmGeneratorTarget* checkGt = new cmGeneratorTarget(check, root);
mf->AddGeneratorTarget(check, checkGt);
}