Hi Robert, I have now tried out the packaging of a static build. 'make help|grep pack' in the build tree gives me:
12:... package 13:... package_libopenscenegraph-dev 14:... package_libopenthreads-dev 15:... package_openscenegraph 16:... package_openscenegraph-doc 17:... package_openscenegraph-examples 18:... package_openthreads-doc 19:... package_source ...after correcting a faulty component spec in openthreads the makefile generate the expected, so make package_libopenscenegraph-dev renders libopenscenegraph-2.7.7-Linux-i386.tar.gz containing all osg headers and static libs including plugins. Do you want the word "static" in the package filename or do you want to disable cpack support when building osg static? Either is minutes of work and I don't have a preference. Mattias On Mon, Dec 15, 2008 at 5:47 PM, Robert Osfield <[email protected]> wrote: > Hi Mattias, > > On Thu, Dec 11, 2008 at 7:34 PM, Mattias Helsing <[email protected]> wrote: >> dotosgwrapper_##classname(void) {} >> get optimized away. It got pulled in when I put a printf between the >> brackets. >> Have to go but am recompiling with linker flag /OPT:NOREF >> Let you know tomorrow > > How did you get on? > > This topic also remindsthe issue of dynamic vs static builds of the > OSG and packaging. Not sure what to do about, but I guess we'd need > to add the naming in target, although I'm be inclined to suggest that > the static target is the special case and that it's one that people > should roll their own libs for if they want static, and stick to just > packaging dynamic libraries. > > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
