2007-08-30 18:41:15 +08:00
|
|
|
#the old construct SUBDIRS( was substituded by ADD_SUBDIRECTORY that is to be preferred according on CMake docs.
|
|
|
|
FOREACH( mylibfolder
|
2008-07-16 01:21:25 +08:00
|
|
|
OpenThreads
|
|
|
|
osg
|
|
|
|
osgDB
|
|
|
|
osgUtil
|
|
|
|
osgGA
|
|
|
|
osgText
|
2008-11-22 20:14:19 +08:00
|
|
|
osgViewer
|
|
|
|
osgAnimation
|
2008-07-16 01:21:25 +08:00
|
|
|
osgFX
|
2008-11-22 20:14:19 +08:00
|
|
|
osgManipulator
|
2008-07-16 01:21:25 +08:00
|
|
|
osgParticle
|
2009-06-25 00:03:49 +08:00
|
|
|
osgPresentation
|
2008-07-16 01:21:25 +08:00
|
|
|
osgShadow
|
2008-11-22 20:14:19 +08:00
|
|
|
osgSim
|
2008-07-16 01:21:25 +08:00
|
|
|
osgTerrain
|
2008-11-22 22:30:21 +08:00
|
|
|
osgWidget
|
2008-09-16 23:32:23 +08:00
|
|
|
osgVolume
|
2008-11-22 22:30:21 +08:00
|
|
|
osgPlugins
|
2008-07-16 01:21:25 +08:00
|
|
|
)
|
|
|
|
|
2009-03-24 00:01:02 +08:00
|
|
|
ADD_SUBDIRECTORY(${mylibfolder})
|
2008-07-16 01:21:25 +08:00
|
|
|
|
2009-03-24 00:01:02 +08:00
|
|
|
ENDFOREACH()
|
2008-07-16 01:21:25 +08:00
|
|
|
|
2007-03-04 21:05:33 +08:00
|
|
|
|
2007-03-11 21:21:48 +08:00
|
|
|
OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF)
|
2009-03-24 00:01:02 +08:00
|
|
|
IF(BUILD_OSG_WRAPPERS)
|
2007-09-06 01:03:43 +08:00
|
|
|
ADD_SUBDIRECTORY(osgIntrospection)
|
|
|
|
ADD_SUBDIRECTORY(osgWrappers)
|
2009-03-24 00:01:02 +08:00
|
|
|
ENDIF()
|
2007-12-12 17:48:39 +08:00
|
|
|
|
|
|
|
IF(MSVC80)
|
|
|
|
OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON)
|
2009-03-24 00:01:02 +08:00
|
|
|
ENDIF()
|
2007-12-12 17:48:39 +08:00
|
|
|
|