DKDEPEND(msinttypes)
DKDEPEND(zlib)
##DKDEPEND(sdl2) ##TODO

### INSTALL ###
DKSET(OSG_VERSION 3.4.0)
DKSET(OSG_NAME OpenSceneGraph-${OSG_VERSION})
DKSET(OSG_DL https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.4.0)
DKSET(OSG ${3RDPARTY}/OpenSceneGraph-3.4.0)

DKINSTALL(${OSG_DL} OpenSceneGraph-3.4.0 ${OSG})

DKSET(OSG_GL2 ${3RDPARTY}/OpenSceneGraph-3.4.0-GL2)
DKSET(OSG_PLUGINS osgPlugins-3.4.0)
IF(OpenGL2)
	DKSET(OSG OSG_GL2)
ENDIF(OpenGL2)


### LINK ###
DKINCLUDE(${OSG}/include)
WIN32_INCLUDE(${OSG}/${OS}/include)
WIN64_INCLUDE(${OSG}/${OS}/include)
MAC_INCLUDE(${OSG}/${OS}/include)
MAC_INCLUDE(${OSG}/${OS}/Release/include)
IOS_INCLUDE(${OSG}/${OS}/include)
IOSSIM_INCLUDE(${OSG}/${OS}/include)
LINUX_DEBUG_INCLUDE(${OSG}/${OS}/Debug/include)
LINUX_RELEASE_INCLUDE(${OSG}/${OS}/Release/include)
ANDROID_DEBUG_INCLUDE(${OSG}/${OS}/Debug/armeabi-v7a/include)
ANDROID_RELEASE_INCLUDE(${OSG}/${OS}/Release/armeabi-v7a/include)


DKENABLE(ALL_LIBS)
IF(ALL_LIBS)
	DKENABLE(OpenThreads)
	DKENABLE(osg)
	DKENABLE(osgUtil)
	DKENABLE(osgDB)
	DKENABLE(osgGA)
	DKENABLE(osgText)
	DKENABLE(osgViewer)
	DKENABLE(osgAnimation)
	DKENABLE(osgFX)
	DKENABLE(osgManipulator)
	DKENABLE(osgParticle)
	DKENABLE(osgVolume)
	DKENABLE(osgWidget)
	#DKENABLE(osgPresentation) #broken
	DKENABLE(osgShadow)
	DKENABLE(osgSim)
	DKENABLE(osgTerrain)
	DKENABLE(osgdb_deprecated_osg)
	DKENABLE(osgdb_serializers_osgparticle)
	DKENABLE(osgdb_serializers_osg)
	DKENABLE(osgdb_trans)
	DKENABLE(osgdb_normals)
	DKENABLE(osgdb_scale)
	DKENABLE(osgdb_rot)
	DKENABLE(osgdb_x)
	DKENABLE(osgdb_stl)
	DKENABLE(osgdb_shp)
	DKENABLE(osgdb_osg)
	DKENABLE(osgdb_openflight)
	DKENABLE(osgdb_obj)
	DKENABLE(osgdb_md2)
	DKENABLE(osgdb_lws)
	DKENABLE(osgdb_lwo)
	DKENABLE(osgdb_logo)
	DKENABLE(osgdb_ive)
	DKENABLE(osgdb_dxf)
	DKENABLE(osgdb_dw)
	DKENABLE(osgdb_bsp)
	DKENABLE(osgdb_ac)
IF(NOT ANDROID)
	DKENABLE(osgdb_3ds)
ENDIF()	
	DKENABLE(osgdb_3dc)
	DKENABLE(osgdb_deprecated_osgwidget)
	#DKENABLE(osgdb_ffmpeg)
	DKENABLE(osgdb_tga)
	DKENABLE(osgdb_tiff)
	DKENABLE(osgdb_png)
	DKENABLE(osgdb_jpeg)
	DKENABLE(osgdb_gif)
	DKENABLE(osgdb_freetype)
	DKENABLE(osgdb_bmp)
	DKENABLE(osgdb_vtf)
	DKENABLE(osgdb_txp)
	DKENABLE(osgdb_txf)
	DKENABLE(osgdb_trk)
	DKENABLE(osgdb_tgz)
	DKENABLE(osgdb_serializers_osgvolume)
	#DKENABLE(osgdb_serializers_osgviewer) #broken
	DKENABLE(osgdb_serializers_osgtext)
	DKENABLE(osgdb_serializers_osgterrain)
	DKENABLE(osgdb_serializers_osgsim)
	DKENABLE(osgdb_serializers_osgshadow)
	#DKENABLE(osgdb_serializers_osgmanipulator) #broken
	#DKENABLE(osgdb_serializers_osgga) #broken
	DKENABLE(osgdb_serializers_osgfx)
	DKENABLE(osgdb_serializers_osganimation)
	DKENABLE(osgdb_rgb)
	DKENABLE(osgdb_revisions)
	DKENABLE(osgdb_pvr)
	DKENABLE(osgdb_pov)
	DKENABLE(osgdb_pnm)
	DKENABLE(osgdb_ply)
	DKENABLE(osgdb_pic)
	#DKENABLE(osgdb_p3d) #broken
	DKENABLE(osgdb_osgviewer)
	DKENABLE(osgdb_osgtgz)
	DKENABLE(osgdb_osgterrain)
	DKENABLE(osgdb_osgshadow)
	DKENABLE(osgdb_osga)
	#DKENABLE(osgdb_osc) #broken
	DKENABLE(osgdb_mdl)
	DKENABLE(osgdb_ktx)
	DKENABLE(osgdb_hdr)
	DKENABLE(osgdb_glsl)
	DKENABLE(osgdb_dot)
	DKENABLE(osgdb_deprecated_osgvolume)
	#DKENABLE(osgdb_deprecated_osgviewer) #broken
	DKENABLE(osgdb_deprecated_osgtext)
	DKENABLE(osgdb_deprecated_osgterrain)
	DKENABLE(osgdb_deprecated_osgsim)
	DKENABLE(osgdb_deprecated_osgshadow)
	DKENABLE(osgdb_deprecated_osgparticle)
	DKENABLE(osgdb_deprecated_osgfx)
	#DKENABLE(osgdb_deprecated_osganimation) #broken
	DKENABLE(osgdb_dds)
	DKENABLE(osgdb_cfg)
	DKENABLE(osgdb_bvh)
	DKENABLE(osgdb_curl)
ENDIF()




IF(OpenThreads)
	DKDEFINE(OSG_LIBRARY_STATIC)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/OpenThreadsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/OpenThreads.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libOpenThreadsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libOpenThreads.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libOpenThreadsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libOpenThreads.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libOpenThreadsd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libOpenThreads.a)
ENDIF(OpenThreads)

IF(osg)
	#DKENABLE(OpenThreads)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosg.a)
ENDIF(osg)

IF(osgUtil)
	#DKENABLE(osg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgUtild.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgUtil.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgUtild.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgUtil.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgUtild.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgUtil.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgUtild.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgUtil.a)
ENDIF(osgUtil)

IF(osgDB)
	#DKENABLE(osgUtil)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgDBd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgDB.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgDBd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgDB.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgDBd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgDB.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgDBd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgDB.a)
ENDIF(osgDB)

IF(osgGA)
	#DKENABLE(osgDB)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgGAd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgGA.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgGAd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgGA.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgGAd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgGA.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgGAd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgGA.a)
ENDIF(osgGA)

IF(osgText)
	#DKENABLE(osgGA)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgTextd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgText.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgTextd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgText.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgTextd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgText.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgTextd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgText.a)
ENDIF(osgText)

IF(osgViewer)
	#DKENABLE(osgText)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgViewerd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgViewer.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgViewerd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgViewer.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgViewerd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgViewer.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgViewerd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgViewer.a)
ENDIF(osgViewer)

IF(osgAnimation)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgAnimationd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgAnimation.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgAnimationd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgAnimation.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgAnimationd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgAnimation.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgAnimationd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgAnimation.a)
ENDIF(osgAnimation)

IF(osgFX)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgFXd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgFX.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgFXd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgFX.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgFXd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgFX.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgFXd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgFX.a)
ENDIF(osgFX)

IF(osgManipulator)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgManipulatord.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgManipulator.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgManipulatord.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgManipulator.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgManipulatord.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgManipulator.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgManipulatord.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgManipulator.a)
ENDIF(osgManipulator)

IF(osgParticle)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgParticled.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgParticle.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgParticled.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgParticle.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgParticled.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgParticle.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgParticled.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgParticle.a)
ENDIF(osgParticle)

IF(osgVolume)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgVolumed.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgVolume.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgVolumed.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgVolume.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgVolumed.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgVolume.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgVolumed.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgVolume.a)
ENDIF(osgVolume)

IF(osgWidget)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgWidgetd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgWidget.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgWidgetd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgWidget.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgWidgetd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgWidget.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgWidgetd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgWidget.a)
ENDIF(osgWidget)

IF(osgPresentation)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgPresentationd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgPresentation.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgPresentationd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgPresentation.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgPresentationd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgPresentation.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgPresentationd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgPresentation.a)
ENDIF(osgPresentation)

IF(osgShadow)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgShadowd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgShadow.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgShadowd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgShadow.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgShadowd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgShadow.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgShadowd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgShadow.a)
ENDIF(osgShadow)

IF(osgSim)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgSimd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgSim.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgSimd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgSim.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgSimd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgSim.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgSimd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgSim.a)
ENDIF(osgSim)

IF(osgTerrain)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/osgTerraind.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/osgTerrain.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgTerraind.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgTerrain.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgTerraind.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgTerrain.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgTerraind.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgTerrain.a)
ENDIF(osgTerrain)

IF(osgdb_deprecated_osg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osg.a)
ENDIF(osgdb_deprecated_osg)

IF(osgdb_serializers_osgparticle)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgparticled.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgparticle.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgparticled.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgparticle.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgparticled.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgparticle.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgparticled.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgparticle.a)
ENDIF(osgdb_serializers_osgparticle)
	
IF(osgdb_serializers_osg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osg.a)
ENDIF(osgdb_serializers_osg)
	
IF(osgdb_trans)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_transd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_trans.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_transd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_trans.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_transd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_trans.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_transd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_trans.a)
ENDIF(osgdb_trans)
	
IF(osgdb_normals)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_normalsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_normals.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_normalsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_normals.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_normalsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_normals.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_normalsd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_normals.a)
ENDIF(osgdb_normals)
	
IF(osgdb_scale)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_scaled.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_scale.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_scaled.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_scale.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_scaled.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_scale.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_scaled.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_scale.a)
ENDIF(osgdb_scale)
	
IF(osgdb_rot)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_rotd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_rot.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_rotd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_rot.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_rotd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_rot.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_rotd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_rot.a)
ENDIF(osgdb_rot)
	
IF(osgdb_x)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_xd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_x.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_xd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_x.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_xd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_x.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_xd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_x.a)
ENDIF(osgdb_x)
	
IF(osgdb_stl)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_stld.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_stl.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_stld.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_stl.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_stld.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_stl.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_stld.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_stl.a)
ENDIF(osgdb_stl)
	
IF(osgdb_shp)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_shpd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_shp.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_shpd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_shp.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_shpd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_shp.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_shpd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_shp.a)
ENDIF(osgdb_shp)
	
IF(osgdb_osg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osg.a)
ENDIF(osgdb_osg)
	
IF(osgdb_openflight)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_openflightd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_openflight.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_openflightd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_openflight.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_openflightd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_openflight.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_openflightd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_openflight.a)
ENDIF(osgdb_openflight)
	
IF(osgdb_obj)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_objd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_obj.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_objd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_obj.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_objd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_obj.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_objd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_obj.a)
ENDIF(osgdb_obj)
	
IF(osgdb_md2)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_md2d.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_md2.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_md2d.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_md2.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_md2d.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_md2.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_md2d.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_md2.a)
ENDIF(osgdb_md2)
	
IF(osgdb_lws)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_lwsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_lws.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_lwsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_lws.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_lwsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_lws.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_lwsd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_lws.a)
ENDIF(osgdb_lws)
	
IF(osgdb_lwo)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_lwod.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_lwo.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_lwod.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_lwo.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_lwod.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_lwo.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_lwod.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_lwo.a)
ENDIF(osgdb_lwo)
	
IF(osgdb_logo)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_logod.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_logo.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_logod.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_logo.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_logod.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_logo.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_logod.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_logo.a)
ENDIF(osgdb_logo)
	
IF(osgdb_ive)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ived.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ive.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_ived.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ive.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_ived.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_ive.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_ived.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_ive.a)
ENDIF(osgdb_ive)
	
IF(osgdb_dxf)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dxfd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dxf.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_dxfd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_dxf.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_dxfd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_dxf.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_dxfd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_dxf.a)
ENDIF(osgdb_dxf)
	
IF(osgdb_dw)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dwd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dw.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_dwd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_dw.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_dwd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_dw.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_dwd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_dw.a)
ENDIF(osgdb_dw)
	
IF(osgdb_bsp)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bspd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bsp.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_bspd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_bsp.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_bspd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_bsp.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_bspd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_bsp.a)
ENDIF(osgdb_bsp)
	
IF(osgdb_ac)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_acd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ac.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_acd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ac.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_acd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_ac.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_acd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_ac.a)
ENDIF(osgdb_ac)
	
IF(osgdb_3ds)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_3dsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_3ds.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_3dsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_3ds.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_3dsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_3ds.a)
	#ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_3dsd.a)
	#ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_3ds.a)
ENDIF(osgdb_3ds)
	
IF(osgdb_3dc)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_3dcd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_3dc.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_3dcd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_3dc.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_3dcd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_3dc.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_3dcd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_3dc.a)
ENDIF(osgdb_3dc)
	
IF(osgdb_deprecated_osgwidget)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgwidgetd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgwidget.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgwidgetd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgwidget.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgwidgetd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgwidget.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgwidgetd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgwidget.a)
ENDIF(osgdb_deprecated_osgwidget)
	
IF(osgdb_ffmpeg)
	DKDEPEND(ffmpeg-dev)
	DKDEPEND(ffmpeg-shared)
	DKDEPEND(ffmpeg-static)
	#DKENABLE(ffmpeg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ffmpegd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ffmpeg.lib)
	#APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_ffmpegd.a)
	#APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ffmpeg.a)
	#LINUX_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_ffmpegd.a)
	#LINUX_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ffmpeg.a)
	#ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_ffmpegd.a)
	#ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_ffmpeg.a)
ENDIF(osgdb_ffmpeg)

IF(osgdb_tga)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tgad.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tga.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_tgad.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_tga.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_tgad.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_tga.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_tgad.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_tga.a)
ENDIF(osgdb_tga)

IF(osgdb_tiff)
	DKDEPEND(tiff)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tiffd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tiff.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_tiffd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_tiff.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_tiffd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_tiff.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_tiffd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_tiff.a)
ENDIF(osgdb_tiff)
	
IF(osgdb_png)
	DKDEPEND(libpng)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pngd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_png.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_pngd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_png.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_pngd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_png.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_pngd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_png.a)
ENDIF(osgdb_png)
	
IF(osgdb_jpeg)
	DKDEPEND(libjpeg-turbo)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_jpegd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_jpeg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_jpegd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_jpeg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_jpegd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_jpeg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_jpegd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_jpeg.a)
ENDIF(osgdb_jpeg)
	
IF(osgdb_gif)
	DKDEPEND(giflib)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_gifd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_gif.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_gifd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_gif.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_gifd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_gif.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_gifd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_gif.a)
ENDIF(osgdb_gif)
	
IF(osgdb_freetype)
	DKDEPEND(freetype)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_freetyped.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_freetype.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_freetyped.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_freetype.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_freetyped.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_freetype.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_freetyped.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_freetype.a)
ENDIF(osgdb_freetype)
	
IF(osgdb_bmp)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bmpd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bmp.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_bmpd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_bmp.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_bmpd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_bmp.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_bmpd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_bmp.a)
ENDIF(osgdb_bmp)
	
IF(osgdb_vtf)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_vtfd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_vtf.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_vtfd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_vtf.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_vtfd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_vtf.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_vtfd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_vtf.a)
ENDIF(osgdb_vtf)

IF(osgdb_txp)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_txpd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_txp.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_txpd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_txp.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_txpd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_txp.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_txpd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_txp.a)
ENDIF(osgdb_txp)
	
IF(osgdb_txf)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_txfd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_txf.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_txfd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_txf.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_txfd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_txf.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_txfd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_txf.a)
ENDIF(osgdb_txf)
	
IF(osgdb_trk)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_trkd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_trk.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_trkd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_trk.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_trkd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_trk.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_trkd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_trk.a)
ENDIF(osgdb_trk)
	
IF(osgdb_tgz)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tgzd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_tgz.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_tgzd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_tgz.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_tgzd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_tgz.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_tgzd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_tgz.a)
ENDIF(osgdb_tgz)
	
IF(osgdb_serializers_osgvolume)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgvolumed.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgvolume.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgvolumed.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgvolume.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgvolumed.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgvolume.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgvolumed.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgvolume.a)
ENDIF(osgdb_serializers_osgvolume)
	
IF(osgdb_serializers_osgviewer)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgviewerd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgviewer.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgviewerd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgviewer.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgviewerd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgviewer.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgviewerd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgviewer.a)
ENDIF(osgdb_serializers_osgviewer)
	
IF(osgdb_serializers_osgtext)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgtextd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgtext.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgtextd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgtext.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgtextd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgtext.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgtextd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgtext.a)
ENDIF(osgdb_serializers_osgtext)

IF(osgdb_serializers_osgterrain)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgterraind.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgterrain.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgterraind.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgterrain.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgterraind.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgterrain.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgterraind.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgterrain.a)
ENDIF(osgdb_serializers_osgterrain)
	
IF(osgdb_serializers_osgsim)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgsimd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgsim.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgsimd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgsim.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgsimd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgsim.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgsimd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgsim.a)
ENDIF(osgdb_serializers_osgsim)
	
IF(osgdb_serializers_osgshadow)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgshadowd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgshadow.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgshadowd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgshadow.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgshadowd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgshadow.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgshadowd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgshadow.a)
ENDIF(osgdb_serializers_osgshadow)
	
IF(osgdb_serializers_osgmanipulator)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgmanipulatord.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgmanipulator.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgmanipulatord.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgmanipulator.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgmanipulatord.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgmanipulator.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgmanipulatord.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgmanipulator.a)
ENDIF(osgdb_serializers_osgmanipulator)
	
IF(osgdb_serializers_osgga)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osggad.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgga.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osggad.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgga.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osggad.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgga.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osggad.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgga.a)
ENDIF(osgdb_serializers_osgga)
	
IF(osgdb_serializers_osgfx)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgfxd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osgfx.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgfxd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osgfx.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osgfxd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osgfx.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osgfxd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osgfx.a)
ENDIF(osgdb_serializers_osgfx)
	
IF(osgdb_serializers_osganimation)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osganimationd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_serializers_osganimation.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osganimationd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_serializers_osganimation.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_serializers_osganimationd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_serializers_osganimation.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_serializers_osganimationd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_serializers_osganimation.a)
ENDIF(osgdb_serializers_osganimation)
	
IF(osgdb_rgb)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_rgbd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_rgb.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_rgbd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_rgb.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_rgbd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_rgb.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_rgbd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_rgb.a)
ENDIF(osgdb_rgb)
	
IF(osgdb_revisions)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_revisionsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_revisions.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_revisionsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_revisions.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_revisionsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_revisions.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_revisionsd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_revisions.a)
ENDIF(osgdb_revisions)
	
IF(osgdb_pvr)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pvrd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pvr.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_pvrd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_pvr.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_pvrd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_pvr.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_pvrd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_pvr.a)
ENDIF(osgdb_pvr)
	
IF(osgdb_pov)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_povd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pov.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_povd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_pov.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_povd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_pov.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_povd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_pov.a)
ENDIF(osgdb_pov)
	
IF(osgdb_pnm)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pnmd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pnm.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_pnmd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_pnm.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_pnmd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_pnm.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_pnmd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_pnm.a)
ENDIF(osgdb_pnm)
	
IF(osgdb_ply)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_plyd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ply.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_plyd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ply.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_plyd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_ply.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_plyd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_ply.a)
ENDIF(osgdb_ply)
	
IF(osgdb_pic)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_picd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_pic.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_picd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_pic.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_picd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_pic.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_picd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_pic.a)
ENDIF(osgdb_pic)
	
IF(osgdb_p3d)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_p3dd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_p3d.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_p3dd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_p3d.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_p3dd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_p3d.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_p3dd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_p3d.a)
ENDIF(osgdb_p3d)
	
IF(osgdb_osgviewer)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgviewerd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgviewer.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgviewerd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osgviewer.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgviewerd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osgviewer.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgviewerd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osgviewer.a)
ENDIF(osgdb_osgviewer)
	
IF(osgdb_osgtgz)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgtgzd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgtgz.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgtgzd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osgtgz.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgtgzd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osgtgz.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgtgzd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osgtgz.a)
ENDIF(osgdb_osgtgz)
	
IF(osgdb_osgterrain)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgterraind.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgterrain.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgterraind.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osgterrain.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgterraind.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osgterrain.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgterraind.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osgterrain.a)
ENDIF(osgdb_osgterrain)
	
IF(osgdb_osgshadow)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgshadowd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgshadow.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgshadowd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osgshadow.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgshadowd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osgshadow.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgshadowd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osgshadow.a)
ENDIF(osgdb_osgshadow)
	
IF(osgdb_osga)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osgad.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osga.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_osgad.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osga.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_osgad.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osga.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_osgad.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osga.a)
ENDIF(osgdb_osga)
	
IF(osgdb_osc)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_oscd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_osc.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_oscd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_osc.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_oscd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_osc.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_oscd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_osc.a)
ENDIF(osgdb_osc)
	
IF(osgdb_mdl)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_mdld.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_mdl.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_mdld.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_mdl.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_mdld.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_mdl.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_mdld.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_mdl.a)
ENDIF(osgdb_mdl)
	
IF(osgdb_ktx)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ktxd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ktx.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_ktxd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_ktx.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_ktxd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_ktx.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_ktxd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_ktx.a)
ENDIF(osgdb_ktx)
	
IF(osgdb_hdr)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_hdrd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_hdr.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_hdrd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_hdr.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_hdrd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_hdr.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_hdrd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_hdr.a)
ENDIF(osgdb_hdr)
	
IF(osgdb_glsl)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_glsld.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_glsl.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_glsld.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_glsl.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_glsld.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_glsl.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_glsld.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_glsl.a)
ENDIF(osgdb_glsl)
	
IF(osgdb_dot)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dotd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dot.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_dotd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_dot.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_dotd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_dot.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_dotd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_dot.a)
ENDIF(osgdb_dot)
	
IF(osgdb_deprecated_osgvolume)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgvolumed.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgvolume.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgvolumed.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgvolume.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgvolumed.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgvolume.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgvolumed.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgvolume.a)
ENDIF(osgdb_deprecated_osgvolume)
	
IF(osgdb_deprecated_osgviewer)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgviewerd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgviewer.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgviewerd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgviewer.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgviewerd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgviewer.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgviewerd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgviewer.a)
ENDIF(osgdb_deprecated_osgviewer)

IF(osgdb_deprecated_osgtext)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgtextd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgtext.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgtextd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgtext.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgtextd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgtext.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgtextd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgtext.a)
ENDIF(osgdb_deprecated_osgtext)
	
IF(osgdb_deprecated_osgterrain)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgterraind.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgterrain.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgterraind.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgterrain.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgterraind.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgterrain.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgterraind.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgterrain.a)
ENDIF(osgdb_deprecated_osgterrain)
	
IF(osgdb_deprecated_osgsim)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgsimd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgsim.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgsimd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgsim.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgsimd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgsim.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgsimd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgsim.a)
ENDIF(osgdb_deprecated_osgsim)
	
IF(osgdb_deprecated_osgshadow)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgshadowd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgshadow.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgshadowd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgshadow.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgshadowd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgshadow.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgshadowd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgshadow.a)
ENDIF(osgdb_deprecated_osgshadow)
	
IF(osgdb_deprecated_osgparticle)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgparticled.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgparticle.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgparticled.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgparticle.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgparticled.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgparticle.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgparticled.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgparticle.a)
ENDIF(osgdb_deprecated_osgparticle)
	
IF(osgdb_deprecated_osgfx)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgfxd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osgfx.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgfxd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osgfx.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osgfxd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osgfx.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osgfxd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osgfx.a)
ENDIF(osgdb_deprecated_osgfx)
	
IF(osgdb_deprecated_osganimation)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osganimationd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_deprecated_osganimation.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osganimationd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_deprecated_osganimation.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_deprecated_osganimationd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_deprecated_osganimation.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_deprecated_osganimationd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_deprecated_osganimation.a)
ENDIF(osgdb_deprecated_osganimation)
	
IF(osgdb_dds)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_ddsd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_dds.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_ddsd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_dds.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_ddsd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_dds.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_ddsd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_dds.a)
ENDIF(osgdb_dds)
	
IF(osgdb_cfg)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_cfgd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_cfg.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_cfgd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_cfg.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_cfgd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_cfg.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_cfgd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_cfg.a)
ENDIF(osgdb_cfg)
	
IF(osgdb_bvh)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bvhd.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_bvh.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_bvhd.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_bvh.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_bvhd.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_bvh.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_bvhd.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_bvh.a)
ENDIF(osgdb_bvh)
	
IF(osgdb_curl)
	DKDEPEND(curl)
	WIN_DEBUG_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_curld.lib)
	WIN_RELEASE_LIB(${OSG}/${OS}/lib/${OSG_PLUGINS}/osgdb_curl.lib)
	APPLE_DEBUG_LIB(${OSG}/${OS}/lib/libosgdb_curld.a)
	APPLE_RELEASE_LIB(${OSG}/${OS}/lib/libosgdb_curl.a)
	LINUX_DEBUG_LIB(${OSG}/${OS}/${DEBUG}/lib/libosgdb_curld.a)
	LINUX_RELEASE_LIB(${OSG}/${OS}/${RELEASE}/lib/libosgdb_curl.a)
	ANDROID_DEBUG_LIB(${OSG}/${OS}/Debug/armeabi-v7a/lib/libosgdb_curld.a)
	ANDROID_RELEASE_LIB(${OSG}/${OS}/Release/armeabi-v7a/lib/libosgdb_curl.a)
ENDIF(osgdb_curl)











### COMPILE ###
DKSETPATH(${OSG}/${OS})
WIN32_COMMAND(${CMAKE_EXE} -G ${GENERATOR} "-DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /D__STDC_CONSTANT_MACROS /W3 /nologo /GR /EHsc /I${ZLIB}/${OS} /I${PNG}/${OS} /I${TIFF}/${OS} /I${JPEG}/${OS}" "-DCMAKE_CXX_FLAGS_DEBUG=/MTd /Od /Ob0 /Zi /RTC1 /DDEBUG /D_DEBUG" "-DCMAKE_CXX_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=ON -DOSG_GL2_AVAILABLE=ON -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=OFF -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DUSE_3RDPARTY_BIN=OFF -DOSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/lib/Release/libcurl.lib -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/Release/freetype.lib -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/Release/jpeg-static.lib -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/Release/lib/.libs/libgif.lib -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/Release/tiff-static.lib -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/Release/zlibstatic.lib -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/Debug/libpng17_staticd.lib -DPNG_LIBRARY_RELEASE=${PNG}/${OS}/Release/libpng17_static.lib -DPNG_PNG_INCLUDE_DIR=${PNG} -DBOOST_INCLUDE_DIR="${BOOST}" -DFFMPEG_LIBAVCODEC_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVCODEC_LIBRARIES=${FFMPEG}/lib/avcodec.lib -DFFMPEG_LIBAVDEVICE_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVDEVICE_LIBRARIES=${FFMPEG}/lib/vdevice.lib -DFFMPEG_LIBAVFORMAT_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVFORMAT_LIBRARIES=${FFMPEG}/lib/avformat.lib -DFFMPEG_LIBAVRESAMPLE_INCLUDE_DIRS=OFF -DFFMPEG_LIBAVRESAMPLE_LIBRARIES=OFF -DFFMPEG_LIBAVUTIL_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVUTIL_LIBRARIES=${FFMPEG}/lib/avutil.lib -DFFMPEG_LIBSWSCALE_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBSWSCALE_LIBRARIES=${FFMPEG}/lib/swscale.lib -DFFMPEG_ROOT=${FFMPEG} -DFFMPEG_STDINT_INCLUDE_DIR=${STDINT} ${OSG})
WIN32_VS_DEBUG(OpenSceneGraph-3.4.0 OpenSceneGraph.sln)
WIN32_VS_RELEASE(OpenSceneGraph-3.4.0 OpenSceneGraph.sln)

DKSETPATH(${OSG}/${OS})
WIN64_COMMAND(${CMAKE_EXE} -G ${X64GENERATOR} "-DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /D__STDC_CONSTANT_MACROS /W3 /nologo /GR /EHsc /I${ZLIB}/${OS} /I${PNG}/${OS} /I${TIFF}/${OS} /I${JPEG}/${OS}" "-DCMAKE_CXX_FLAGS_DEBUG=/MTd /Od /Ob0 /Zi /RTC1 /DDEBUG /D_DEBUG" "-DCMAKE_CXX_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=ON -DOSG_GL2_AVAILABLE=ON -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=OFF -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DUSE_3RDPARTY_BIN=OFF -DOSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/lib/Release/libcurl.lib -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/Release/freetype.lib -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/Release/jpeg-static.lib -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/Release/lib/.libs/libgif.lib -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/Release/tiff-static.lib -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/Release/zlibstatic.lib -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/Debug/libpng17_staticd.lib -DPNG_LIBRARY_RELEASE=${PNG}/${OS}/Release/libpng17_static.lib -DPNG_PNG_INCLUDE_DIR=${PNG} -DBOOST_INCLUDE_DIR="${BOOST}" -DFFMPEG_LIBAVCODEC_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVCODEC_LIBRARIES=${FFMPEG}/lib/avcodec.lib -DFFMPEG_LIBAVDEVICE_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVDEVICE_LIBRARIES=${FFMPEG}/lib/vdevice.lib -DFFMPEG_LIBAVFORMAT_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVFORMAT_LIBRARIES=${FFMPEG}/lib/avformat.lib -DFFMPEG_LIBAVRESAMPLE_INCLUDE_DIRS=OFF -DFFMPEG_LIBAVRESAMPLE_LIBRARIES=OFF -DFFMPEG_LIBAVUTIL_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBAVUTIL_LIBRARIES=${FFMPEG}/lib/avutil.lib -DFFMPEG_LIBSWSCALE_INCLUDE_DIRS=${FFMPEG}/include -DFFMPEG_LIBSWSCALE_LIBRARIES=${FFMPEG}/lib/swscale.lib -DFFMPEG_ROOT=${FFMPEG} -DFFMPEG_STDINT_INCLUDE_DIR=${STDINT} ${OSG})
WIN64_VS_DEBUG(OpenSceneGraph-3.4.0 OpenSceneGraph.sln)
WIN64_VS_RELEASE(OpenSceneGraph-3.4.0 OpenSceneGraph.sln)

DKSETPATH(${OSG}/${OS})
MAC_COMMAND(${CMAKE_EXE} -G "Xcode" "-DCMAKE_CXX_FLAGS=-I${ZLIB}/${OS} -I${PNG}/${OS} -I${TIFF}/${OS} -I${JPEG}/${OS}" -DCMAKE_OSX_ARCHITECTURES=x86_64 -DOSG_CXX_LANGUAGE_STANDARD=C++98 -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=ON -DOSG_GL2_AVAILABLE=ON -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=OFF -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/lib/Release/libcurl.a -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/Release/libfreetype.a -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/Release/libjpeg-static.a -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/Release/libtiff-static.a -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/Release/libz.a -DPNG_LIBRARY=${PNG}/${OS}/Release/libpng17.a -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/Debug/libpng17d.a -DPNG_PNG_INCLUDE_DIR=${PNG} -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/Release/lib/.libs/libgif.a -DBoost_INCLUDE_DIR=OFF ${OSG})
MAC_XCODE_DEBUG(OpenSceneGraph-3.4.0)
MAC_XCODE_RELEASE(OpenSceneGraph-3.4.0)

DKSETPATH(${OSG}/${OS})
IOS_COMMAND(${CMAKE_EXE} -G "Xcode" "-DCMAKE_CXX_FLAGS=-I${ZLIB}/${OS} -I${PNG}/${OS} -I${TIFF}/${OS} -I${JPEG}/${OS}" -DOSG_CXX_LANGUAGE_STANDARD=C++98 -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF
-DOSG_GLES3_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOPENGL_PROFILE=GLES1 -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/lib/${RELEASE}/libcurl.a -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/${RELEASE}/libfreetype.a -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/${RELEASE}/libjpeg-static.a -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/${RELEASE}/libtiff-static.a -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/${RELEASE}/libz.a -DPNG_LIBRARY=${PNG}/${OS}/${RELEASE}/libpng17.a -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/${DEBUG}/libpng17d.a -DPNG_PNG_INCLUDE_DIR=${PNG} -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/${RELEASE}/lib/.libs/libgif.a -DBoost_INCLUDE_DIR=OFF -DAV_FOUNDATION_INCLUDE_DIR=OFF -DAV_FOUNDATION_LIBRARY=OFF -DOSG_BUILD_PLATFORM_IPHONE=ON ${OSG})
IOS_XCODE_DEBUG(OpenSceneGraph-3.4.0)
IOS_XCODE_RELEASE(OpenSceneGraph-3.4.0)

DKSETPATH(${OSG}/${OS})
IOSSIM_COMMAND(${CMAKE_EXE} -G "Xcode" "-DCMAKE_CXX_FLAGS=-I${ZLIB}/${OS} -I${PNG}/${OS} -I${TIFF}/${OS} -I${JPEG}/${OS}" -DOSG_CXX_LANGUAGE_STANDARD=C++98 -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF -DOSG_GLES3_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOPENGL_PROFILE=GLES1 -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/lib/${RELEASE}/libcurl.a -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/${RELEASE}/libfreetype.a -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/${RELEASE}/libjpeg-static.a -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/${RELEASE}/libtiff-static.a -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/${RELEASE}/libz.a -DPNG_LIBRARY=${PNG}/${OS}/${RELEASE}/libpng17.a -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/${DEBUG}/libpng17d.a -DPNG_PNG_INCLUDE_DIR=${PNG} -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/${RELEASE}/lib/.libs/libgif.a -DBoost_INCLUDE_DIR=OFF -DAV_FOUNDATION_INCLUDE_DIR=OFF -DAV_FOUNDATION_LIBRARY=OFF -DOSG_BUILD_PLATFORM_IPHONE_SIMULATOR=ON ${OSG})
IOSSIM_XCODE_DEBUG(OpenSceneGraph-3.4.0)
IOSSIM_XCODE_RELEASE(OpenSceneGraph-3.4.0)

DKSETPATH(${OSG}/${OS}/Debug)
LINUX_DEBUG_COMMAND(${CMAKE_EXE} -G "Unix Makefiles" "-DCMAKE_CXX_FLAGS=-I${ZLIB}/${OS}/Debug -I${PNG}/${OS}/Debug -I${TIFF}/${OS}/Debug -I${JPEG}/${OS}/Debug" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=ON -DOSG_GL2_AVAILABLE=ON -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=OFF -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/Debug/lib/libcurl.a -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/Debug/libfreetype.a -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/Debug/libz.a -DPNG_PNG_INCLUDE_DIR=${PNG} -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/Debug/libpng17.a -DPNG_LIBRARY=${PNG}/${OS}/Debug/libpng17.a -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/Debug/libjpeg-static.a -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/Debug/libtiff-static.a -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/Debug/lib/.libs/libgif.lib -DBoost_INCLUDE_DIR=OFF ${OSG})
LINUX_DEBUG_COMMAND(make)

DKSETPATH(${OSG}/${OS}/Release)
LINUX_RELEASE_COMMAND(${CMAKE_EXE} -G "Unix Makefiles" "-DCMAKE_CXX_FLAGS=-I${ZLIB}/${OS}/Release -I${PNG}/${OS}/Release -I${TIFF}/${OS}/Release -I${JPEG}/${OS}/Release" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_OSG_APPLICATIONS=OFF -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=ON -DOSG_GL2_AVAILABLE=ON -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=OFF -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOSG_MSVC_VERSIONED_DLL=OFF -DOSG_USE_QT=OFF -DCURL_INCLUDE_DIR=${CURL}/include -DCURL_LIBRARY=${CURL}/${OS}/Release/lib/libcurl.a -DFREETYPE_INCLUDE_DIR_freetype2=${FREETYPE}/include -DFREETYPE_INCLUDE_DIR_ft2build=${FREETYPE}/include -DFREETYPE_LIBRARY=${FREETYPE}/${OS}/Release/libfreetype.a -DZLIB_INCLUDE_DIR=${ZLIB} -DZLIB_LIBRARY=${ZLIB}/${OS}/Release/libz.a -DPNG_PNG_INCLUDE_DIR=${PNG} -DPNG_LIBRARY_DEBUG=${PNG}/${OS}/Debug/libpng17.a -DPNG_LIBRARY=${PNG}/${OS}/Release/libpng17.a -DJPEG_INCLUDE_DIR=${JPEG} -DJPEG_LIBRARY=${JPEG}/${OS}/Release/libjpeg-static.a -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DTIFF_LIBRARY=${TIFF}/${OS}/Release/libtiff-static.a -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DGIFLIB_LIBRARY=${GIF}/${OS}/Release/lib/.libs/libgif.lib -DBoost_INCLUDE_DIR=OFF ${OSG})
LINUX_RELEASE_COMMAND(make)


## Android Debug
DKSETPATH(${OSG}/${OS}/Debug)
DKSETPATH(${OSG}/${OS}/Debug/armeabi-v7a)
ANDROID_DEBUG_COMMAND(${CMAKE_EXE} -G "MinGW Makefiles" "-DCMAKE_CXX_FLAGS=-I${JPEG}/${OS}/Debug/jni -I${FREETYPE}/include -I${PNG}/${OS}/Debug/jni -I${TIFF}/${OS}/Debug/jni -I${ZLIB}/${OS}/Debug/jni" -DANDROID=ON -DCMAKE_BUILD_TYPE=DEBUG -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOPENGL_PROFILE=GLES1 -DCMAKE_TOOLCHAIN_FILE=${OSG}/PlatformSpecifics/Android/android.toolchain.cmake -DCMAKE_INSTALL_PREFIX=${OSG}/${OS}/Debug/install -DANDROID_NDK=${ANDROID_NDK} -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.8 -DANDROID_STL=gnustl_static -DANDROID_NATIVE_API_LEVEL=15 -DANDROID_PLATFORM=android-15 -DANDROID_ABI=armeabi-v7a -DANDROID_OPTIM_NEON=OFF -DANDROID_OPTIM_ARM32=OFF -DFREETYPE_DIR=${FREETYPE}/include -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DJPEG_INCLUDE_DIR=${JPEG} -DPNG_INCLUDE_DIR=${PNG} -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DCURL_DIR=${CURL} -DZLIB_INCLUDE_DIR=${ZLIB} -DBUILD_OSG_APPLICATIONS=OFF -DOSG_USE_QT=OFF -DBoost_INCLUDE_DIR=OFF -DJ=8 -DANDROID_DEBUG=OFF ${OSG})
ANDROID_RELEASE_COMMAND("C:/Program Files (x86)/GnuWin32/bin/make.exe")

## Android Release
DKSETPATH(${OSG}/${OS}/Release)
DKSETPATH(${OSG}/${OS}/Release/armeabi-v7a)
ANDROID_RELEASE_COMMAND(${CMAKE_EXE} -G "MinGW Makefiles" "-DCMAKE_CXX_FLAGS=-I${JPEG}/${OS}/Release/jni -I${FREETYPE}/include -I${PNG}/${OS}/Release/jni -I${TIFF}/${OS}/Release/jni -I${ZLIB}/${OS}/Release/jni" -DANDROID=ON -DCMAKE_BUILD_TYPE=RELEASE -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF -DOSG_GL_LIBRARY_STATIC=OFF -DOPENGL_PROFILE=GLES1 -DCMAKE_TOOLCHAIN_FILE=${OSG}/PlatformSpecifics/Android/android.toolchain.cmake -DCMAKE_INSTALL_PREFIX=${OSG}/${OS}/Release/install -DANDROID_NDK=${ANDROID_NDK} -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.8 -DANDROID_STL=gnustl_static -DANDROID_NATIVE_API_LEVEL=15 -DANDROID_PLATFORM=android-15 -DANDROID_ABI=armeabi-v7a -DANDROID_OPTIM_NEON=OFF -DANDROID_OPTIM_ARM32=OFF -DFREETYPE_DIR=${FREETYPE}/include -DGIFLIB_INCLUDE_DIR=${GIF}/lib -DJPEG_INCLUDE_DIR=${JPEG} -DPNG_INCLUDE_DIR=${PNG} -DTIFF_INCLUDE_DIR=${TIFF}/libtiff -DCURL_DIR=${CURL} -DZLIB_INCLUDE_DIR=${ZLIB} -DBUILD_OSG_APPLICATIONS=OFF -DOSG_USE_QT=OFF -DBoost_INCLUDE_DIR=OFF -DJ=8 -DANDROID_DEBUG=OFF ${OSG})
ANDROID_RELEASE_COMMAND("C:/Program Files (x86)/GnuWin32/bin/make.exe")
