View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015848CMakeCMakepublic2015-11-17 09:542016-05-02 08:30
ReporterBartosz 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformApple MacOSOS XOS Version
Product VersionCMake 3.4 
Target VersionCMake 3.5Fixed in VersionCMake 3.5 
Summary0015848: Generalize RESOURCE target property to by used by all Bundles (not only by FRAMEWORK)
DescriptionCurrently RESOURCE target property is used only for FRAMEWORK
https://cmake.org/cmake/help/v3.4/prop_tgt/RESOURCE.html [^]

It will be great to reuse such property for all bundles:
https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html [^]

The basic structure of a Mac app:
MyApp.app/
   Contents/
      Info.plist
      MacOS/
      Resources

It could be also be used for iOS Frameworks:

Bundle structure of an iOS application (flat structure):
MyApp.app
   MyApp
   MyAppIcon.png
   MySearchIcon.png
   Info.plist
   Default.png
   MainWindow.nib
   Settings.bundle
   MySettingsIcon.png
Steps To ReproduceWhat needs to be done:
- Implement such solution for Application Bundle and Core Foundation Bundle
- Add unit tests
- Update documentation
Additional InformationI would like to be volunteer for that task, if there will be agreement about such solution
TagsNo tags attached.
Attached Fileszip file icon cmake_ios_framework_with_resource.zip [^] (6,480 bytes) 2015-11-17 10:36
zip file icon cmake_osx_framework_with_resource.zip [^] (5,537 bytes) 2015-11-17 10:36
zip file icon cmake_ios_framework_with_resource2.zip [^] (7,055 bytes) 2015-11-18 09:27
patch file icon 0001-Create-flat-directory-structure-for-resources-in-iOS.patch [^] (3,620 bytes) 2015-11-18 10:45 [Show Content]
patch file icon 0001-Fix-resource-directory-structure-update-help-and-tes.patch [^] (9,240 bytes) 2015-11-26 07:27 [Show Content]

 Relationships

  Notes
(0039877)
Brad King (manager)
2015-11-17 10:07

> I would like to be volunteer for that task, if there will be agreement about such solution

Great. Please bring your proposal up on the developer mailing list for discussion with a broader audience.
(0039898)
Brad King (manager)
2015-11-20 09:17

Corresponding mailing list thread:

http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/14908/focus=15014 [^]
(0039948)
Brad King (manager)
2015-12-03 09:09

Another mailing list thread:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/15137 [^]

Patch applied here:

 iOS: Fix framework resource directory layout
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e76ee2c0 [^]
(0040975)
Robert Maynard (manager)
2016-05-02 08:30

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-11-17 09:54 Bartosz New Issue
2015-11-17 10:07 Brad King Note Added: 0039877
2015-11-17 10:36 Bartosz File Added: cmake_ios_framework_with_resource.zip
2015-11-17 10:36 Bartosz File Added: cmake_osx_framework_with_resource.zip
2015-11-18 09:27 Bartosz File Added: cmake_ios_framework_with_resource2.zip
2015-11-18 10:45 Bartosz File Added: 0001-Create-flat-directory-structure-for-resources-in-iOS.patch
2015-11-20 09:17 Brad King Note Added: 0039898
2015-11-26 07:27 Bartosz File Added: 0001-Fix-resource-directory-structure-update-help-and-tes.patch
2015-12-03 09:09 Brad King Note Added: 0039948
2015-12-03 09:09 Brad King Status new => resolved
2015-12-03 09:09 Brad King Resolution open => fixed
2015-12-03 09:09 Brad King Fixed in Version => CMake 3.5
2015-12-03 09:09 Brad King Target Version => CMake 3.5
2016-05-02 08:30 Robert Maynard Note Added: 0040975
2016-05-02 08:30 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team