Where did iOS Platform go in CMake?!

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Where did iOS Platform go in CMake?!

Post by d000hg »

I just updated my 1-8 branch and deleted my build-dir, and now in CMake, the iOS build platform is missing completely. NaCl is still listed. How can I go back to a working version while this fixed - what hg statement?

And please can someone confirm this bug urgently please! CMake only caches things in the build-dir, right? So deleting that dir and running CMake will give me a fresh view of the new CMake setup?
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Where did iOS Platform go in CMake?!

Post by masterfalcon »

I can't confirm that here. Try deleting your CMakeCache.txt and rerunning CMake.
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Re: Where did iOS Platform go in CMake?!

Post by d000hg »

Done that a couple of times. No luck. OGRE_BUILD_PLATFORM_NACL is listed but OGRE_BUILD_PLATFORM_APPLE_IOS isn't shown as an option, and isn't listed in the newly generated CMakeCache.txt at all.

I've attached what I just re-generated. In the meanwhile - how can I go back maybe 2-4 weeks on the 1.8 branch, to maybe see where this got introduced? Can you advise me what file to look at - there are so many cmake files?
You do not have the required permissions to view the files attached to this post.
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99

Re: Where did iOS Platform go in CMake?!

Post by Wolfmanfx »

You have to pass through command line or add an entry in the cmake gui.
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Re: Where did iOS Platform go in CMake?!

Post by d000hg »

Wolfmanfx wrote:You have to pass through command line or add an entry in the cmake gui.
It seems to work (haven't built yet) but why is that? I didn't have to when I got the 1.8.2 version a few weeks ago - why has this been removed?
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Where did iOS Platform go in CMake?!

Post by masterfalcon »

You've always had to pass it via the command line or manually add the option. The FindiOS script was removed because it wasn't actually doing anything and all versions of Xcode ship with the iOS SDK.
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Re: Where did iOS Platform go in CMake?!

Post by d000hg »

Bizarre, I've always seen the OGRE_PLATFORM_APPLE_IOS checkbox listed in the GUI. Maybe I did this ages ago and forgot about it!!

Thanks.