Hi Paul,

On 7 March 2014 20:50, Paul Martz <skewmat...@gmail.com> wrote:

> If OSG is linked statically, obviously I need to reference a plugin with
> the USE_OSGPLUGIN macro.
>
> Is there any way I can determine at compile time whether the OSG I'm
> linking against was built as static or dynamic? I want to use USE_OSGPLUGIN
> if OSG was built static, and not use it otherwise, right?
>
> Should USE_OSGPLUGIN be defined as a no-op if OSG is built dynamic?
>

My inclination would be to simply put the block of USE_OSGPLUGIN in the end
user application into a #if #endif block rather than making USE_OSGPLUGIN
something that itself contains an #if #endif block.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to