No subject


Thu Apr 9 10:40:16 EDT 2009


CMAKE_OSX_ARCHITECTURES changes the Xcode build setting ARCHS, which
allows you to select between architectures such as ppc, i386, and
armv6. What the original poster probably wants is the Xcode build
setting SDKROOT, which cmake calls CMAKE_OSX_SYSROOT.
(http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW105)

Rather than changing these settings in cmake, you can simply generate
an Xcode project and then select the iPhone build via Project > Set
active SDK.

Getting access to all of Xcode's build settings and some documentation
would be nice ...
(http://www.cmake.org/pipermail/cmake/2009-April/028695.html)

-Claus


More information about the CMake mailing list