[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] MACOSX_PACKAGE_LOCATION and iOS
From:       Craig Scott <craig.scott () crascit ! com>
Date:       2016-08-23 3:47:45
Message-ID: CA+dygY=9MbH2V6zED-5rxFwk6ebuDOuPnNJC+S0LnX_ZreJXNA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr">Just wondering if this is expected behaviour (it&#39;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 \
&quot;../&quot; is prepended to the path given. I&#39;m wondering if the assumption \
here is that for OSX, files will likely be getting put in &quot;Resources/...&quot;, \
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&#39;s first confirm whether this is intended and debate the \
merits later. ;)<br clear="all"><div><br></div>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Craig \
Scott<br><div>Melbourne, Australia</div><div><a href="http://crascit.com" \
target="_blank">http://crascit.com</a><br></div></div></div></div></div> </div>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic