Re: [osg-users] Disabling plugins via CMake

2016-11-10 Thread Voerman, L.
Hi Sam, This might not work for all osg specific package find scripts in OpenSceneGraph\CMakeModules, but you should be able to disable packages from the cmake command line: from cmake 3.0 documentation: Every non-REQUIRED find_package call can be disabled by setting the CMAKE_DISABLE_FIND_PACKAGE

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread Alberto Luaces
Yes, there is no "high-level" way. I hope it works for you. sam writes: > Hi Alberto, > > No. I was hoping to avoid hacking the CMakeFiles up. I will give this a try. > > Thanks! > > On Tue, Nov 8, 2016 at 5:07 AM, Alberto Luaces wrote: > > sam writes: > > > Hi All, > > > > Is there a simpl

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread sam
Hi Alberto, No. I was hoping to avoid hacking the CMakeFiles up. I will give this a try. Thanks! On Tue, Nov 8, 2016 at 5:07 AM, Alberto Luaces wrote: > sam writes: > > > Hi All, > > > > Is there a simple way to disable the plugin project files from being > generated via CMake? > > > > Hi, Sam

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread Alberto Luaces
sam writes: > Hi All, > > Is there a simple way to disable the plugin project files from being > generated via CMake? > Hi, Sam. Did you try to comment or delete the 31st line of src/CMakeLists.txt? https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/CMakeLists.txt#L31 -- Albert

[osg-users] Disabling plugins via CMake

2016-11-07 Thread sam
Hi All, Is there a simple way to disable the plugin project files from being generated via CMake? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Disabling plugins via CMake

2016-04-25 Thread Alberto Luaces
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_SUBDIRECTOR

[osg-users] Disabling plugins via CMake

2016-04-19 Thread sam
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. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http