161246d864
This approach unifies much of the code handling the clean up of OpenGL graphics data, avoids lots of local mutexes and static variables that were previously required, and enables the clean up scheme to be easily extended by users providing their own GraphicsObjectManager subclasses. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15130 16af8721-9629-0410-8352-f15c8da7e697
43 lines
967 B
CMake
43 lines
967 B
CMake
IF(ANDROID)
|
|
SET(MODULE_USER_STATIC_OR_DYNAMIC ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC})
|
|
ENDIF(ANDROID)
|
|
|
|
IF(MSVC80 OR MSVC90)
|
|
OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON)
|
|
ENDIF()
|
|
|
|
#the old construct SUBDIRS( was substituded by ADD_SUBDIRECTORY that is to be preferred according on CMake docs.
|
|
FOREACH( mylibfolder
|
|
OpenThreads
|
|
osg
|
|
osgDB
|
|
osgUtil
|
|
osgGA
|
|
osgText
|
|
osgViewer
|
|
osgAnimation
|
|
osgFX
|
|
osgManipulator
|
|
osgParticle
|
|
osgUI
|
|
osgVolume
|
|
osgShadow
|
|
osgSim
|
|
osgTerrain
|
|
osgWidget
|
|
osgPresentation
|
|
osgWrappers/serializers
|
|
osgWrappers/deprecated-dotosg
|
|
osgPlugins
|
|
)
|
|
|
|
ADD_SUBDIRECTORY(${mylibfolder})
|
|
|
|
ENDFOREACH()
|
|
|
|
IF ((QT4_FOUND OR Qt5Widgets_FOUND) AND NOT ANDROID)
|
|
ADD_SUBDIRECTORY(osgQt)
|
|
ENDIF()
|
|
|
|
|