[cmake-developers] [CMake 0015848]: Generalize RESOURCE target property to by used by all Bundles (not only by FRAMEWORK)

Mantis Bug Tracker mantis at public.kitware.com
Tue Nov 17 09:54:18 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15848 
====================================================================== 
Reported By:                gang65
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15848
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-11-17 09:54 EST
Last Modified:              2015-11-17 09:54 EST
====================================================================== 
Summary:                    Generalize RESOURCE target property to by used by
all Bundles (not only by FRAMEWORK)
Description: 
Currently 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 Reproduce: 
What needs to be done:
- Implement such solution for Application Bundle and Core Foundation Bundle
- Add unit tests
- Update documentation

Additional Information: 
I would like to be volunteer for that task, if there will be agreement about
such solution
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-11-17 09:54 gang65         New Issue                                    
======================================================================



More information about the cmake-developers mailing list