Hi,
> Well, CMake supports file globbing out-of-the-box if that's what you
> > meant. I do use it to automatically gather project files.
>
> I would expect this to happen during the cmake run not the make run ?
It happens during the "cmake run", but every "make run" re-runs cmake to
check for changes. Theoretically you don't have to re-run cmake ever again
after the first run, as it's handled automatically (and it's very fast,
thanks to the cache system).
that for me is the least important bit ;-). My Windows builds are batch
> builds anyway just to check if it works. So besides the Visual Studio
> Project stuff there still must be a 'Makefile' based way to build it in
> a useful shell that allows secure remote logins (e.g. cygwin via sshd,
> the build-in windows shell does not qualify, nor does nmake).
I thought you'd say that, but don't be too selfish ;-) There are onother
people who like to build from VisualStudio and/or Xcode. It's certainly a
pro for possibly most of OpenSG's user base (I know it would around here).
> maybe I never tried ;-), but one curious point would be how cmake
> handles the fact that some of our generated files must be in the source
> tree, not the build tree.
Actually CMake is very relaxed in that sense. It does not separate the build
tree from the source tree as strictly as SCons does. At first we thought it
was one of its weaknesses, but now we don't really care. Qt's generated
files are created in the source tree by default. Fortunately it's easy to
get "make clean" to work and neatly clean the source tree.
> > There are many other nice things. Handling dependencies will get much
> > easier.
>
> Which kind of dependencies, the following from the cmake faq sounds
> scary:
>
> 'CMake does not preprocess source files while scanning dependencies'
>
> I haven't checked the implications.
>
> Correct and platform independent constistent dependencies and not just
> access time based dependencies is the one strong point on the scons
> side.
Actually, I was talking about configuring "prerequisite" packages like Boost
and Qt ;)
With CMake you usually glob all header files and include them in the build
(so they are also included in VS/Xcode projects). It works fast and very
well for us. SCons dependency scanners are nice, but quite honestly, I was
glad to sacrify them in favour of much faster builds (and no problems so
far).
PS: remember that packaging and installation is MUCH MUCH better in CMake
;-)
Kind regards,
Thiago
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core