2011-03-09 00:35:37 +08:00
|
|
|
IF(ANDROID)
|
|
|
|
SET(MODULE_USER_STATIC_OR_DYNAMIC ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC})
|
|
|
|
ENDIF(ANDROID)
|
|
|
|
|
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
|
2010-01-21 04:13:33 +08:00
|
|
|
osgWrappers/serializers
|
2010-01-19 18:31:38 +08:00
|
|
|
osgWrappers/deprecated-dotosg
|
2008-11-22 22:30:21 +08:00
|
|
|
osgPlugins
|
2008-07-16 01:21:25 +08:00
|
|
|
)
|
|
|
|
|
2010-01-19 18:31:38 +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
|
|
|
|
2011-03-09 00:35:37 +08:00
|
|
|
IF (QT4_FOUND AND NOT ANDROID)
|
2010-03-04 20:15:35 +08:00
|
|
|
ADD_SUBDIRECTORY(osgQt)
|
|
|
|
ENDIF()
|
2007-03-04 21:05:33 +08:00
|
|
|
|
2009-12-02 22:58:47 +08:00
|
|
|
IF(MSVC80 OR MSVC90)
|
2007-12-12 17:48:39 +08:00
|
|
|
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
|
|
|
|
2011-03-09 00:35:37 +08:00
|
|
|
IF(ANDROID)
|
|
|
|
configure_file("${OSG_ANDROID_TEMPLATES}/Android.mk.src.in" "${CMAKE_CURRENT_BINARY_DIR}/Android.mk")
|
|
|
|
ENDIF()
|
|
|
|
|