Hi Dirk and Allen,

Dirk Reiners wrote:
> Allen Bierbaum wrote:
>> Carsten Neumann wrote:
>>> I can not find the place where OSG_DEBUG is defined, so I assume it
>>> should be on the compiler command line ?
>>> Right now the scons build for 2 only puts a -D_DEBUG there, should
>>> OSGConfig.h map this to OSG_DEBUG or is this a bug in the build ?
>>>
>> Dirk may be able to comment on this.  I know we stripped a lot of things 
>> out to simplify the build.  My preference would be to put something like 
>> this in OSGConfig.h.
> 
> I don't think we can on this one. It should be set based on which build 
> is being done, so it needs to go into scons. I added a ticket 
> (http://opensg.vrsource.org/trac/ticket/77).

yes, but if scons sets _DEBUG on all platforms for debug builds (does
it?) we could put this in OSGConfig.h:

#ifdef _DEBUG
#define OSG_DEBUG
#endif

and maybe also put it into OSGConfigured.h ?

        Carsten

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to