Re: [CMake] CMAKE_OSX_SYSROOT icw iOS fat binaries (iPhone + iPhoneSimulator)

2018-11-19 Thread Craig Scott
The IOS_INSTALL_COMBINED target property allows you to create fat binaries, but only at install time. To use this feature, set your CMAKE_OSX_SYSROOT to iphoneos and the simulator slice will be built and added to the fat

[CMake] CMAKE_OSX_SYSROOT icw iOS fat binaries (iPhone + iPhoneSimulator)

2018-11-19 Thread Erik van Nooijen
With CMake it is possible to build for fat binaries for iOS without XCode. Fat binaries meaning containing all the architectures for iPhone and iPhoneSimulator. However, when building frameworks, CMake builds it with the MacOSX layout, including 'Version' directory and symlinks etc. This is