Gordon, I don't understand,
I thought this option alters the behaviour of the built DLLS (in this
case osg) and therefore modified the CMakeLists.txt like this:
IF(WIN32)
ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS,_HAS_ITERATOR_DEBUGGING=0)
#needed for net plugin
SET (OSG_SOCKET_LIBS wsock32.lib)
# Both Cygwin and Msys need -DNOMINMAX ???
IF(UNIX)
ADD_DEFINITIONS(-DNOMINMAX)
ENDIF(UNIX)
ENDIF(WIN32)
How come one only has to do an #define ... in one's own code?
Is it a runtime instead of a compile time issue?
Well, it recompiles anyways atm
Regards,
Stefan >8^)
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/