[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: [CMake] CMAKE_OSX_SYSROOT being ignored?
From: Kenneth Riddile <kfriddile () yahoo ! com>
Date: 2009-07-10 3:48:44
Message-ID: 862764.95021.qm () web38306 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I'm using CMake 2.6.4 to generate xcode projects for iphone apps. =A0I have=
nearly everything working, except that my specified setting for CMAKE_OSX_=
SYSROOT is being ignored in favor of the "Current OS" setting. =A0I am spec=
ifying it like this:
set(CMAKE_OSX_ROOT iphoneos2.1)
from looking at this post:
http://stackoverflow.com/questions/822404/how-to-set-up-cmake-to-build-an-a=
pp-for-the-iphone
Once my projects are generated, I simply have to change the SDK root in xco=
de to have it use the iphone SDK, but I'd like to get CMake to use the SDK =
I'm telling it to use.
Thanks,Kenny Riddile
[Attachment #5 (text/html)]
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Hi,<div><br></div><div>I'm using CMake 2.6.4 to generate xcode projects for \
iphone apps. I have nearly everything working, except that my specified setting \
for CMAKE_OSX_SYSROOT is being ignored in favor of the "Current OS" setting. I \
am specifying it like this:</div><div><br></div><div>set(CMAKE_OSX_ROOT \
iphoneos2.1)</div><div><br></div><div>from looking at this \
post:</div><div><br></div><div><a \
href="http://stackoverflow.com/questions/822404/how-to-set-up-cmake-to-build-an-app-fo \
r-the-iphone">http://stackoverflow.com/questions/822404/how-to-set-up-cmake-to-build-an-app-for-the-iphone</a></div><div><br></div><div>Once \
my projects are generated, I simply have to change the SDK root in xcode to have it \
use the iphone SDK, but I'd like to get CMake to use the SDK I'm telling it to \
use.</div><div><br></div><div>Thanks,</div><div>Kenny \
Riddile</div></td></tr></table>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at 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
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic