Hi Terry, As Jan and Martin suggested, CMake isn't by default choosing the Release build. One can go in and enable this via ccmake or just use the ./configure script that I added, this runs:
cmake . -DCMAKE_BUILD_TYPE=Release So the build instructions now read: cd OpenSceneGraph ./configure make sudo make install Robert. On 6/6/07, Terry Welsh <[EMAIL PROTECTED]> wrote:
Just got done tracking down a mysterious performance problem I was having. Judging by the filesizes of old and new osg libs, it looks like the introduction of cmake at revision 6468 caused all my libs to be built as debug. The default for OSG used to be optimized libs. After looking through the OSG and cmake webpages, I can't figure out how to force an optimized build. Is this a permanent condition of the OSG build system? Is there a way I can force optimized libs to be built? Is there a good source of information for this sort of thing? The cmake FAQs haven't helped so far..... - Terry _______________________________________________ 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/
