Just a few notes on my experience with CMake...

While the script writing was easy to learn, I quickly found myself limited by its API. Anytime I needed a new feature, if CMake didn't support it out-of-the-box, I was out of luck :( Delta3D ended up moving to SCons since I could write normal Python code to add in any special features it lacked. CMake's extensibility may have been improved in recent months, so the point may be moot.

A big pro of CMake over other systems is fast incremental builds times. SCons tends to be slower since it errs on the side of correct builds rather than speed.

And just in case everyone didn't already know, MS VisualStudio projects generated with CMake still use CMake under the hood. So users wanting to compile the OSG would always need CMake installed somewhere. It would be nice if a tool actually generated a totally native project. SCons is the same way... :(

Just my $0.02 :)

-chris


E. Wing wrote:
There are currently about 5 of us that I know of that are working on
or interested in working on the CMake build system. All of us have
been independently busy so we haven't yet organized our efforts into
finishing this. Many parts have already been written, but a lot of
work is needed to make the system truly cross platform and
customizable.

CMake is the way to go in my opinion because it is the only generator
(I know of) that handles Xcode. It also does native project generation
better than other build systems I've seen which has performance
implications. (e.g. Native Xcode can leverage the distributed build
features of Xcode, while a wrapper or bootstrap around some other
tool's build system (ala make) cannot).

Currently CMake is still lacking one major OS X feature we need
(framework building support). Somebody has offered to implement it but
I need to follow up on that. Aside from these OS X-isms, CMake's
support is pretty good. The developers seem to have pretty active
Visual Studio development so they seem to keep up pretty well with all
the new stuff Microsoft does. The Unix Makefile generator is pretty
solid and it seems much faster at building than automake/libtool
projects. I haven't tested KDevelop in a long time so I don't know how
that's coming along.

Anyway, the place to start is here:
http://www.openscenegraph.org/index.php?page=Tasks.CMake
and also here:
http://www.sharedreality.de/osgcmake/

I'm also sitting on some newer stuff I've been experimenting with
which isn't finished. If you want it, let me know. I also just
submitted some new(er) Findosg*.cmake modules for inclusion into the
official CMake distribution. We'll see if they get included in the
next release.

Anyway, if you are serious about working on this now, let me know, and
I can brief you on all the things that need to happen to make this
work.

(Anybody else who is interested in helping, please let me know too.)

-Eric
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to