diff options
author | Brad King <brad.king@kitware.com> | 2011-06-06 21:34:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-06 21:44:11 (GMT) |
commit | 44cdae921d627bc4b113dad971350db64e3c277a (patch) | |
tree | 826d5db324609618eed6e307eb2be4caf2d8a15a /Source/cmGlobalXCodeGenerator.h | |
parent | 4b652ad0d9c83b30ac34f53a1b90fc0a153c6293 (diff) | |
download | CMake-44cdae921d627bc4b113dad971350db64e3c277a.zip CMake-44cdae921d627bc4b113dad971350db64e3c277a.tar.gz CMake-44cdae921d627bc4b113dad971350db64e3c277a.tar.bz2 |
Xcode: Fix parallel build depends with universal binaries (#11844)
A post-build phase of each target invokes the XCODE_DEPEND_HELPER.make
file to erase any targets that link to it. Narrow the set of targets
tested by each post-build phase to those that depend on the newly
completed target. This avoids removing files from partially built
unrelated targets that happen to be building in parallel.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 290532a..eec6df0 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -198,6 +198,8 @@ protected: std::vector<cmXCodeObject*> XCodeObjects; cmXCodeObject* RootObject; private: + std::string PostBuildMakeTarget(std::string const& tName, + std::string const& configName); cmXCodeObject* MainGroupChildren; cmXCodeObject* SourcesGroupChildren; cmXCodeObject* ResourcesGroupChildren; |