MantisBT - CMake
View Issue Details
0015843CMakeCMakepublic2015-11-10 20:592016-05-02 08:30
Bartosz 
Gregor Jasny 
normalmajoralways
closedfixed 
 
CMake 3.5CMake 3.5 
0015843: Documentation is not mention about support for iOS Application Bundle and iOS Framework Bundle
With CMake 3.4.0 the support for iOS Bundles was created.
Unfortunately the Cmake 3.4 Documentation was not updated.

What need to be changed:
1. Mac OS X should be renamed to OS X
2. On pages related to Frameworks and Applications Bundles, the information should be added that also iOS is supported


Example of pages which needs to be updated:
https://cmake.org/cmake/help/v3.4/prop_tgt/MACOSX_BUNDLE.html [^]
https://cmake.org/cmake/help/v3.4/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.html [^]
https://cmake.org/cmake/help/v3.4/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.html [^]
https://cmake.org/cmake/help/v3.4/prop_tgt/MACOSX_RPATH.html [^]

On following page it should be mentioned, that it is only affects OS X systems (not iOS):
https://cmake.org/cmake/help/v3.4/prop_tgt/FRAMEWORK_VERSION.html [^]

Also following pages should be updated, to reflect that it is also iOS architectures (eg. "armv7;armv7s;arm64" for iOS device and x86 for iOS simulator)
https://cmake.org/cmake/help/v3.4/prop_tgt/OSX_ARCHITECTURES_CONFIG.html [^]
It could be used to produce fat framework:
set(CMAKE_OSX_ARCHITECTURES "armv7;armv7s;arm64"
No tags attached.
related to 0015833closed Gregor Jasny Support creating of Framework for iOS 
patch 0001-Update-documentation-to-reflect-support-for-iOS.patch (20,468) 2015-11-13 05:41
https://public.kitware.com/Bug/file/5575/0001-Update-documentation-to-reflect-support-for-iOS.patch
Issue History
2015-11-10 20:59BartoszNew Issue
2015-11-10 21:02BartoszNote Added: 0039862
2015-11-10 22:08BartoszNote Added: 0039863
2015-11-11 12:47Brad KingSummaryCMake 3.4.0RC3 Documentation is not mention about support for iOS Application Bundle and iOS Framework Bundle => Documentation is not mention about support for iOS Application Bundle and iOS Framework Bundle
2015-11-11 12:47Brad KingSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1956#r1956
2015-11-11 12:49Brad KingNote Added: 0039864
2015-11-13 05:41BartoszFile Added: 0001-Update-documentation-to-reflect-support-for-iOS.patch
2015-11-16 10:02BartoszNote Added: 0039873
2015-11-16 10:14Brad KingAssigned To => Gregor Jasny
2015-11-16 10:14Brad KingStatusnew => assigned
2015-11-16 10:14Brad KingTarget Version => CMake 3.5
2015-11-16 10:14Brad KingRelationship addedrelated to 0015833
2015-12-09 15:10BartoszNote Added: 0039963
2015-12-09 15:12Brad KingNote Added: 0039965
2015-12-09 15:12Brad KingStatusassigned => resolved
2015-12-09 15:12Brad KingResolutionopen => fixed
2015-12-09 15:12Brad KingFixed in Version => CMake 3.5
2016-05-02 08:30Robert MaynardNote Added: 0040982
2016-05-02 08:30Robert MaynardStatusresolved => closed

Notes
(0039862)
Bartosz   
2015-11-10 21:02   
On that page, directory structure is incorrect for iOS.
https://cmake.org/cmake/help/v3.4/prop_sf/MACOSX_PACKAGE_LOCATION.html [^]
(0039863)
Bartosz   
2015-11-10 22:08   
Also example should be updated, to show that iOS Framework could be also created with that command
https://cmake.org/cmake/help/v3.4/manual/cmake-buildsystem.7.html#apple-frameworks [^]
(0039864)
Brad King   
2015-11-11 12:49   
The iOS support is a work-in-progress as contributions are made. 3.4 made some steps but it is not ready to advertise as supported in documentation. Documentation for existing capabilities can be added during post-3.4 development but I see no need to backport it to the release branch or mention anything in the release notes yet.
(0039873)
Bartosz   
2015-11-16 10:02   
Can we push documentation update patch for CMake 3.5 ?
(0039963)
Bartosz   
2015-12-09 15:10   
The patch for this issue was already pushed into cmake. We could close the issue.
(0039965)
Brad King   
2015-12-09 15:12   
Help: Update documentation to reflect support for iOS
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5d74c870 [^]
(0040982)
Robert Maynard   
2016-05-02 08:30   
Closing resolved issues that have not been updated in more than 4 months.