Hi,

On Thu, 2009-06-25 at 08:37 +0200, Johannes Brunen wrote:

> May I take the opportunity to ask for the state of affairs with respect the 
> build target naming scheme. There happend to be some discussion on the lists 
> about changing the current scheme. Any conclusion reached?

not yet, but it is mainly a naming thing.

> Currently, I do see the following build targets:
> 
>     Debug -> /MD /Od
>     DebugRT -> /MDd /Od
>     MinSizeRel -> /MD /O1
>     Release -> /MD /O2
>     RelWithDebInfo -> /MD /O2
>
> IMHO this is far from perfect, at least for the windows programmer. I would 
> like to see at least the following scheme, which I have used successfully 
> with OpenSG 1.8 (last try):
> 
>     Debug -> /MDd /Od as usually found on windows: suffix 'D'
>     DebugOpt -> /MDd /O2 /Ob2 this one is perfect for application 
> development with consistent debug runtime. Used for debugging of the host 
> application, not of OpenSG: suffix 'OD'
>     Release -> /MD /O2 /Ob2 the usual release target: no suffix

that scheme misses the only one I really use, the one that is currently
called Debug. As this is the only one I care about it can not go away.

How it is named, I don't really care, the current names come from the
original scons implementation. We can rename DebugRT to DebugRRT
an switch it with Debug, but than I would change DebugOpt to DebugDRT.


> Maybe it is possible to give the user a customization point at hand, so that 
> he can take responsibility of the actually naming scheme.

hmm, there is a lot of cmake magic involved in getting this right on
windows, so I'm not a 100% if one can strip it down enough.

> Another question. Is the documentation going to be build also from the cmake 
> generated platform project files?

should, my solution has a Doc target but I never tried it. At least
'make Doc' works.

kind regards,
  gerrit





------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to