[CMake] MACOSX_PACKAGE_LOCATION and iOS

Craig Scott craig.scott at crascit.com
Mon Aug 22 23:47:45 EDT 2016


Just wondering if this is expected behaviour (it's not documented if it
is). When building for iOS with the Xcode generator, if a source file has
its MACOSX_PACKAGE_LOCATION property set, the generated Xcode project shows
that "../" is prepended to the path given. I'm wondering if the assumption
here is that for OSX, files will likely be getting put in "Resources/...",
but for iOS it is a flat structure with no Resources folder, so CMake
silently pulls the destination dir up one level. This seems like trying to
do too much on behalf of the developer, but let's first confirm whether
this is intended and debate the merits later. ;)

-- 
Craig Scott
Melbourne, Australia
http://crascit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160823/466f6ba6/attachment.html>


More information about the CMake mailing list