And changing this 'MODULE' variable tout "STATIC" leads to the construction of static plugin libs ! bingo !
I guess someone should include somewhere the test done for the core libs to decide here if we should have "SHARED" or "STATIC"... what was this 'MODULE' used for in fact ?? Manu. 2007/5/23, Emmanuel Roche <[EMAIL PROTECTED]>:
Concerning the build process for the plugins I think I finally have a clue: everything seems to come to the function "ADD_LIBRARY" in the CMake files... for the core libs, the second parameter for this "function" can apparently be "SHARED" or "STATIC" depending on the configuration whereas for the plugins, it seems to always be the variable 'MODULE' :-). I keep digging... :-) Manu. 2007/5/23, Emmanuel Roche <[EMAIL PROTECTED]>: > > It's good ! the correction you made solved the problem for > osgdepthshadow sample ! :-) > > Manu. > > > 2007/5/23, Emmanuel Roche < [EMAIL PROTECTED] >: > > > > Okay, the compilation is in progress... > > > > Now, is there a simple way to force Cmake to build static libs for the > > plugins ? I really don't understand nothing to those files lol... > > > > Manu. > > > > > > > > 2007/5/23, Robert Osfield <[EMAIL PROTECTED]>: > > > > > > On 5/23/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote: > > > > By the way, Is someone else working on this static build process > > > or am I on > > > > my own... ? I guess I have to find out a bit more about CMake and > > > linux > > > > symbols anyway... > > > > > > You may well be the first under Windows and Unix :-) > > > > > > W.r.t the multiple definitions in osgShadow/osgdepthshadow example, > > > I've just made the local definiations of the shaders static in the > > > osgShadow and checked it in. Could you let me know if this fixes > > > it. > > > > > > Robert. > > > _______________________________________________ > > > 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/
