[osg-submissions] Adding debug "d" extensions to plugins under linux

Robert Osfield robert.osfield at gmail.com
Tue May 27 09:47:40 PDT 2008


Hi Mathieu,

I've done a quick review of your changes, and agree with the general
intent, but unfortunately the CMakeLists.txt files you've changed also
have been changed alot by others for items such as CMake 2.6 support,
pkg-config support etc.  I'd all these changes tested out by the
community in isolation, then move on to looking the changes you've
made.

Could you try out the svn version of the OSG, then reapply your
changes.  One thing to bare in mind is Cedric Pinson change to make
the CMAKE_DEBUG_POSTFIX editable via CMakeSetup/ccmake.  Cedric's
change means that is possible to build without the d post fix or even
use another postfix, so we'll need to pass this postfix into the build
of osgDB so that the Registry change build the correct plugin names.
The code in Registry.cpp could probably be rationalised a bit once we
do pass in the post fix via a -D define.

Thanks for you patience and assistance,
Robert.

On Fri, May 23, 2008 at 9:21 AM, Mathieu MARACHE
<mathieu.marache at gmail.com> wrote:
> Hi Robert,
>
> I had the problem that debug and release version of the plugins had the same
> name under linux. These minors modification to Registry and the CMake
> support files enable to have both Release and Debug version of the plugins
> to coexist and be found by there respective runtimes.
>
> HTH someone.
>
> --
> Mathieu
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>


More information about the osg-submissions mailing list