HI Serge,

I'm not up on windows build, but CMake does differentiate between
libs/dll's and runtime loading libraries (i.e. plugins), the former it
calls shared libraries, the later are reference to as modules.  So at
a guess perhaps something relating to CMAKE_MODULE_LINKER_FLAGS might
exist.

Robert.

On Dec 5, 2007 3:17 PM, Serge Lages <[EMAIL PROTECTED]> wrote:
>
> On Dec 5, 2007 9:28 AM, Serge Lages <[EMAIL PROTECTED]> wrote:
>
> >
> > On Dec 4, 2007 6:38 PM, Michael Ebner <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Hi all,
> > >
> > > Serge Lages wrote:
> > > > [have you tried compiling the plugins with "Embed Manifest = false"]
> > >
> > > >
> > > > It seems to be a good addition to the default build options for the
> > > > plugins, any CMake expert can do the modifications and submit it ? Or
> > > > tell me where to make them ? :)
> > >
> > > I would also appreciate having this as option in cmake configuration.
> > > Who is maintaining it right now and could this be added?
> > >
> > >
> >
> > Hi Michael,
> >
> > I gave a look to CMake to find how to do it but it seems impossible right
> now, the manifest's behaviour for VS8 seems to be hardcoded. Do you know if
> not generating the manifests produce the same result ? It may be possible, I
> will try it later.
>
> It is possible with CMake to specify to not generate the manifests, and I
> confirm it produces the same result as non embedding them.
>
> So I tried to tweak the CMake files to not generate them for the plugins,
> adding :
>
> IF(MSVC)
>   SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /MANIFEST:NO")
> ENDIF(MSVC)
>
> First I added it to OpenSceneGraph\src\osgPlugins\CMakeLists.txt, but it
> doesn't work. Then I tried to add it to OpenSceneGraph\CMakeLists.txt, with
> this addition the core OSG dll don't produce any manifests but the plugins
> still produce them... Any idea of what I am doing wrong ?
>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to