Xcode: Add support for combined install on iOS

This patch solves the problem of installing both: Device and Simulator
libraries on iOS. Before only one of them was installed.

If the IOS_INSTALL_COMBINED property is set on a target, a
special install hook will be activated which builds the corresponding
target and combines both at the install location.

The original patch was contributed by Ruslan Baratov, and polished by
Gregor Jasny.
This commit is contained in:
Ruslan Baratov
2015-10-08 03:09:34 +03:00
committed by Gregor Jasny
parent 34f5ef564a
commit 565d080a9a
16 changed files with 532 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
ios-universal
-------------
* When building for embedded Apple platforms like iOS CMake learned to build and
install combined targets which contain both a device and a simulator build.
This behavior can be enabled by setting the :prop_tgt:`IOS_INSTALL_COMBINED`
target property.