summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-02-18 19:12:27 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-02-22 16:05:17 (GMT)
commit33a1d727d5aafeaa0d9e729119d7d43ea9fcb370 (patch)
tree547d8658c95029be6ece913237cfbe17703f3406 /Source/cmGlobalXCodeGenerator.cxx
parent96b6afdc4289a3f04983ee5f5af82c83b422c583 (diff)
downloadCMake-33a1d727d5aafeaa0d9e729119d7d43ea9fcb370.zip
CMake-33a1d727d5aafeaa0d9e729119d7d43ea9fcb370.tar.gz
CMake-33a1d727d5aafeaa0d9e729119d7d43ea9fcb370.tar.bz2
Makefile: Allow adding post-build rules to object libraries
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 8627cf2..5029a94 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -489,7 +489,8 @@ void cmGlobalXCodeGenerator::AddExtraTargets(
std::vector<std::string> no_byproducts;
lg->GetMakefile()->AddCustomCommandToTarget(
target->GetName(), no_byproducts, no_depends, commandLines,
- cmTarget::POST_BUILD, "Depend check for xcode", dir.c_str());
+ cmTarget::POST_BUILD, "Depend check for xcode", dir.c_str(), true,
+ false, "", false, cmMakefile::AcceptObjectLibraryCommands);
}
if (target->GetType() != cmStateEnums::INTERFACE_LIBRARY &&