Hi Jieqian.Li, On 5 January 2018 at 02:50, gabriella seth <[email protected]> wrote: > What are the SETUP_LIBRARY, SETUP_APPLICATION, SETUP_PLUGIN and so on, and > where defined them?
These are just convenience cmake functions for setting up OSG libraries, application and plugins. These cmake functions only exist because the OSG has hundreds of separate submodules & examples so it makes sense to make it easier to set up the libs + applications with same settings each time. They are defined in OpenSceneGraph/CMakeModules/OsgMacroUtils.cmake. When writing you own applications you wouldn't use these but roll your own CMake scripts, the OpenSceneGraph/examples/CMakeExample provides a bare bones CMakeLists.txt that illustrates how to create your own build using CMake + OSG. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

