[osg-users] Disabling plugins via CMake

Alberto Luaces aluaces at udc.es
Mon Apr 25 10:42:43 PDT 2016


sam writes:

> Hi All,
>
> Is there a simple way to disable the plugins from building in OSG? I'd
> like to be able to just build the OSGCore without having to uncheck
> the boxes in visual studio.
>

Hi Sam, I usually open src/osgPlugins/CMakeLists.txt and comment or
remove all the ADD_SUBDIRECTORY instances in which I am not interested.
In your case I suppose that you could almost remove the whole file.

-- 
Alberto




More information about the osg-users mailing list