[osg-users] [build] How does the solution build determine whether or not to compile a plugin
Robert Osfield
robert.osfield at gmail.com
Sat Jun 11 05:51:13 PDT 2016
Hi
On 11 June 2016 at 12:58, Dave Sargrad <davidsargrad at hotmail.com> wrote:
> Hi,
> I've discovered that you can turn on CMKAKE diagnostics to see if SETUP_PLUGIN is being called. Is it true that if you see an entry indicating that SETUP_PLUGIN has been called then that plugin should be placed into the solution for build? Or are there other factors that would cause a plugin not to be included within the solution? Where do I look in the build chain to determine whether or not the plugin has indeed been placed into the solution for build?
The OpenSceneGraph/src/osgPlugins/CMakeLists.txt contains all the
references to the plugins. The optional plugins are enclosed in if ()
blocks where the test is usually checking for the presense of a 3rd
party dependency that that plugin requires.
The Find scripts that locate the 3rd part plugins are invoked in the
the OpenSceneGraph/CMakeLists.txt, just look for Find*().
Robert.
More information about the osg-users
mailing list