[Announcement] CMake build platforms (WinRT/WP8/iOS/NACL)

News, announcements and important global threads from the Ogre3D Team.
Post Reply
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 1
Contact:

[Announcement] CMake build platforms (WinRT/WP8/iOS/NACL)

Post by Wolfmanfx » Thu Feb 07, 2013 9:35 pm

I refactored the find_package for directX and seperated it for DX9/DX11.
After that i also removed the following options from cmake
  • OGRE_BUILD_PLATFORM_NACL
    OGRE_BUILD_PLATFORM_WINRT
    OGRE_BUILD_PLATFORM_WINDOWS_PHONE
so its more streamlined with the iOS build where you also have to specify the build platform manually.
You have to specify that value BEFORE you configure cmake (when using cmake gui) or pass it via the command line
  • Command line:
    -DOGRE_BUILD_PLATFORM_WINRT=TRUE

    CMake-GUI:
    cmake_build_platform.jpg
    cmake_build_platform.jpg (29.04 KiB) Viewed 8139 times
---
Atm the following platforms needs to be specified manually:
  • OGRE_BUILD_PLATFORM_APPLE_IOS
    OGRE_BUILD_PLATFORM_NACL
    OGRE_BUILD_PLATFORM_WINRT
    OGRE_BUILD_PLATFORM_WINDOWS_PHONE
---
Regarding DX11 we use the installable SDK as default for WinRT/WP8 you have specify the build platform as described before. DX9 always use the installable SDK.
0 x

simedj
Goblin
Posts: 262
Joined: Fri Nov 18, 2011 6:50 pm

Re: [Announcement] CMake build platforms (WinRT/WP8/iOS/NACL

Post by simedj » Thu Mar 14, 2013 6:32 pm

Is this in effect for 1.8 branch as well, or 1.9 only? If 1.8, what Ogre version is it... I have 1.8.2 for iOS already but that predates your post.

When you say do it BEFORE configuring, when I am doing a brand new build what order is it? The first "configure" asks me which compiler to use, do I add the option before or after that?
0 x
Looking to find experienced Ogre & shader developers/artists. PM me with a contact email address if interested.

User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
Contact:

Re: [Announcement] CMake build platforms (WinRT/WP8/iOS/NACL

Post by masterfalcon » Thu Mar 14, 2013 6:41 pm

Support for OGRE_BUILD_PLATFORM_APPLE_IOS already exists in 1.8. You need to add that option before you configure with CMake.
0 x

simedj
Goblin
Posts: 262
Joined: Fri Nov 18, 2011 6:50 pm

Re: [Announcement] CMake build platforms (WinRT/WP8/iOS/NACL

Post by simedj » Thu Mar 14, 2013 6:49 pm

Hmm, there was a checkbox for it when I last built (1.8.2) so I guess it's newer than that. I'll have to watch out next time I update on the Mac.

It's not 100% clear to me how changing things to require manually hacking the CMake setup is slicker than a nice set of options I turn on/off ;)
0 x
Looking to find experienced Ogre & shader developers/artists. PM me with a contact email address if interested.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: [Announcement] CMake build platforms (WinRT/WP8/iOS/NACL

Post by jacmoe » Wed Apr 03, 2013 10:09 am

@Simedj: those options needs to be set before the configuration stage, so it can't be a 'nice set of options'. No big deal: add the option before hitting 'configure' for the first time.
CMake works in mysterious ways sometimes.
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

Post Reply