[cmake-developers] Linking fails with CMake-2.8.8, but works with CMake-2.8.4 with Xcode generator

David Cole david.cole at kitware.com
Thu Jun 21 11:23:02 EDT 2012


If you want it to work with iOS apps, then you have to set
CMAKE_XCODE_EFFECTIVE_PLATFORMS as of its introduction, which was version
2.8.6.

That feature was introduced to enable seamless switching between simulator
and device builds, and to enable running in the debugger for either.


HTH,
David


On Thu, Jun 21, 2012 at 9:49 AM, Thomas Sondergaard
<ts at medical-insight.com>wrote:

> I can reproduce this problem in cmake/Tests/iOSNavApp by commenting out
> the line that sets CMAKE_XCODE_EFFECTIVE_**PLATFORMS in the
> CMakeLists.txt. I think this is a bug. I can report it, but I'm not sure
> whether I'm actually required to set CMAKE_XCODE_EFFECTIVE_**PLATFORMS?
>
> Regards,
>
> Thomas
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-**bin/mailman/listinfo/cmake-**developers<http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120621/d990acdb/attachment.html>


More information about the cmake-developers mailing list