Project Generator App

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
User avatar
petrocket
Gremlin
Posts: 178
Joined: Tue Mar 20, 2007 3:29 am
Contact:

Project Generator App

Post by petrocket » Thu Jun 05, 2014 2:38 pm

Just throwing this out there. I was messing around with openframeworks (http://openframeworks.cc/) and they have a project generator that works on most major platforms and simplifies generating projects that use their SDK a lot. What this might look like for OGRE 2.0 would be that when you download an SDK for your platform it includes this project generator application that lets you pick the plugins, media, components (terrain, paging etc) in a simple GUI and spits out a project, ready to compile, at a user-picked location.

A super nice feature would be if it could spit out a project in such a way that it kept OS specific code for that project in one place and OS agnostic code in another place for those interested in using OGRE in cross platform situations.

Another possible feature this project generator could have would be that it could download the plugins automatically from sourceforge so we wouldn't have to bundle them in the SDK.

Couple images of the OpenFrameworks project generator UI:
Image

Image
0 x
Ogre API & Manual | Ogre Wiki

blog | website | work

Follow me on twitter @ twitter.com/petrocket

User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 1

Re: Project Generator App

Post by Herb » Thu Jun 05, 2014 3:57 pm

This seems similar to jacmoe's AppWizard tool. As it generates new ogre project files for multiple platforms automatically. Sounds like you almost extend that with a few more features than re-write one from scratch.
0 x

User avatar
c6burns
Beholder
Posts: 1511
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines

Re: Project Generator App

Post by c6burns » Thu Jun 05, 2014 5:57 pm

I'd say stick with CMake since it's already what you are using to build the SDK. There's a CMake sample project already in the wiki:
http://www.ogre3d.org/tikiwiki/Building ... With+CMake
0 x

TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin

Re: Project Generator App

Post by TheSHEEEP » Fri Jun 06, 2014 8:01 am

CMake isn't bad if you are experienced, but it is rather horrible if you are a newcomer. And shoving even more options on top of that unintuitive interface would probably not be helping much ;)
I'd also favor an easier to use tool that you could also use to create a template project for various platforms.
Like, CMake-like builder + AppWizard in one application.

But that would be no easy task to write. I started once, and was halfway done with an automated Ogre builder, but then my disk crashed and I lost all data. And had no time for something like that since then.
0 x
My site! - Have a look :)
Also on Twitter - extra fluffy

User avatar
Zonder
Ogre Magi
Posts: 1132
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 22

Re: Project Generator App

Post by Zonder » Fri Jun 06, 2014 8:45 am

I think it looks good for an end user as cmake interface isn't brilliant. No reason a generator couldn't be using cmake under the hood either.
0 x
There are 10 types of people in the world: Those who understand binary, and those who don't...

Post Reply