[cmake-developers] Create subdirectories in Resource directory for Frameworks and Application bundle.

Gregor Jasny gjasny at googlemail.com
Sun Dec 13 13:52:10 EST 2015


On 11/12/15 20:21, clinton at elemtech.com wrote:
> ----- On Dec 11, 2015, at 11:44 AM, Bartosz Kosiorek <gang65 at poczta.onet.pl> wrote: 
>> Because there is difference between OS X and iOS Bundles directory structure
>> (see: Apple specification
>> https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html
>> ),
>> in trunk (In CMake 3.5) RESOURCE property create corresponding directory
>> structure.
>> I have already fix that with:
>> https://public.kitware.com/Bug/view.php?id=15848
> 
> Ok. I hadn't been following all your work. 
> Also, I didn't see a toggle in the CMake code you sent to choose an iOS bundle instead of OS X bundles. How is that toggled? 

See cmMakefile::PlatformIsAppleIos()
https://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmMakefile.cxx;h=1b0a99ae84932af665360f63bf8bba8d7663ef8e;hb=HEAD#l2404

Basically it's looking at the CMAKE_OSX_SYSROOT variable.

-Gregor


More information about the cmake-developers mailing list