2007-03-20 19:19:00 +08:00
|
|
|
#######################################################
|
|
|
|
# this are setting used in SETUP_EXAMPLE macro
|
|
|
|
#######################################################
|
2007-03-19 20:30:26 +08:00
|
|
|
SET(TARGET_DEFAULT_PREFIX "example_")
|
|
|
|
SET(TARGET_DEFAULT_LABEL_PREFIX "Examples")
|
2007-03-20 19:19:00 +08:00
|
|
|
|
2007-03-19 20:30:26 +08:00
|
|
|
SET(TARGET_COMMON_LIBRARIES
|
|
|
|
OpenThreads
|
|
|
|
osg
|
|
|
|
osgDB
|
|
|
|
osgUtil
|
|
|
|
osgGA
|
|
|
|
osgViewer
|
|
|
|
osgText
|
|
|
|
)
|
2007-03-05 21:27:55 +08:00
|
|
|
|
2007-03-19 20:30:26 +08:00
|
|
|
ADD_SUBDIRECTORY(osganimate)
|
|
|
|
ADD_SUBDIRECTORY(osgautotransform)
|
|
|
|
ADD_SUBDIRECTORY(osgbillboard)
|
|
|
|
ADD_SUBDIRECTORY(osgblendequation)
|
|
|
|
ADD_SUBDIRECTORY(osgcallback)
|
|
|
|
ADD_SUBDIRECTORY(osgcamera)
|
|
|
|
ADD_SUBDIRECTORY(osgcatch)
|
|
|
|
#ADD_SUBDIRECTORY(osgcegui)
|
|
|
|
ADD_SUBDIRECTORY(osgclip)
|
|
|
|
#to add subject to find socket#ADD_SUBDIRECTORY(osgcluster)
|
|
|
|
ADD_SUBDIRECTORY(osgcopy)
|
|
|
|
ADD_SUBDIRECTORY(osgcubemap)
|
|
|
|
ADD_SUBDIRECTORY(osgdelaunay)
|
|
|
|
ADD_SUBDIRECTORY(osgdepthpartition)
|
|
|
|
ADD_SUBDIRECTORY(osgdepthshadow)
|
|
|
|
ADD_SUBDIRECTORY(osgdistortion)
|
|
|
|
ADD_SUBDIRECTORY(osgfadetext)
|
|
|
|
ADD_SUBDIRECTORY(osgforest)
|
|
|
|
ADD_SUBDIRECTORY(osgfxbrowser)
|
|
|
|
ADD_SUBDIRECTORY(osggeodemo)
|
|
|
|
ADD_SUBDIRECTORY(osggeometry)
|
2007-03-05 21:27:55 +08:00
|
|
|
#to add subject to find Glut
|
2007-03-19 20:30:26 +08:00
|
|
|
#ADD_SUBDIRECTORY(osgGLUTkeyboardmouse)
|
|
|
|
#ADD_SUBDIRECTORY(osgGLUTsimple)
|
|
|
|
ADD_SUBDIRECTORY(osghangglide)
|
|
|
|
ADD_SUBDIRECTORY(osghud)
|
|
|
|
ADD_SUBDIRECTORY(osgimpostor)
|
|
|
|
ADD_SUBDIRECTORY(osgintersection)
|
2007-03-22 20:58:01 +08:00
|
|
|
|
2007-03-20 19:19:00 +08:00
|
|
|
IF (BUILD_OSG_WRAPPERS)
|
2007-03-19 20:30:26 +08:00
|
|
|
ADD_SUBDIRECTORY(osgintrospection)
|
2007-03-20 19:19:00 +08:00
|
|
|
ENDIF(BUILD_OSG_WRAPPERS)
|
2007-03-22 20:58:01 +08:00
|
|
|
|
2007-03-19 20:30:26 +08:00
|
|
|
ADD_SUBDIRECTORY(osgkeyboard)
|
|
|
|
ADD_SUBDIRECTORY(osgkeyboardmouse)
|
|
|
|
ADD_SUBDIRECTORY(osglauncher)
|
|
|
|
ADD_SUBDIRECTORY(osglight)
|
|
|
|
ADD_SUBDIRECTORY(osglightpoint)
|
|
|
|
ADD_SUBDIRECTORY(osglogicop)
|
|
|
|
ADD_SUBDIRECTORY(osglogo)
|
|
|
|
ADD_SUBDIRECTORY(osgmanipulator)
|
|
|
|
ADD_SUBDIRECTORY(osgmotionblur)
|
|
|
|
ADD_SUBDIRECTORY(osgmovie)
|
|
|
|
ADD_SUBDIRECTORY(osgmultiplecameras)
|
|
|
|
ADD_SUBDIRECTORY(osgmultitexture)
|
|
|
|
ADD_SUBDIRECTORY(osgoccluder)
|
|
|
|
ADD_SUBDIRECTORY(osgpagedlod)
|
|
|
|
ADD_SUBDIRECTORY(osgparametric)
|
|
|
|
ADD_SUBDIRECTORY(osgparticle)
|
|
|
|
ADD_SUBDIRECTORY(osgparticleeffects)
|
|
|
|
ADD_SUBDIRECTORY(osgphotoalbum)
|
|
|
|
ADD_SUBDIRECTORY(osgpick)
|
|
|
|
ADD_SUBDIRECTORY(osgplanets)
|
|
|
|
ADD_SUBDIRECTORY(osgpoints)
|
|
|
|
ADD_SUBDIRECTORY(osgpointsprite)
|
|
|
|
ADD_SUBDIRECTORY(osgprecipitation)
|
|
|
|
ADD_SUBDIRECTORY(osgprerender)
|
|
|
|
ADD_SUBDIRECTORY(osgprerendercubemap)
|
|
|
|
ADD_SUBDIRECTORY(osgreflect)
|
|
|
|
ADD_SUBDIRECTORY(osgscalarbar)
|
|
|
|
ADD_SUBDIRECTORY(osgscribe)
|
|
|
|
ADD_SUBDIRECTORY(osgsequence)
|
|
|
|
ADD_SUBDIRECTORY(osgshaders)
|
|
|
|
ADD_SUBDIRECTORY(osgshaderterrain)
|
|
|
|
ADD_SUBDIRECTORY(osgshadowtexture)
|
|
|
|
ADD_SUBDIRECTORY(osgshadow)
|
|
|
|
ADD_SUBDIRECTORY(osgshape)
|
|
|
|
ADD_SUBDIRECTORY(osgsimple)
|
2007-03-05 21:27:55 +08:00
|
|
|
##################################################
|
2007-03-19 20:30:26 +08:00
|
|
|
#ADD_SUBDIRECTORY(osgsimpleviewerXXX)
|
2007-03-20 19:19:00 +08:00
|
|
|
#
|
|
|
|
#need to find dependency on windowing libraries
|
|
|
|
#
|
2007-03-05 21:27:55 +08:00
|
|
|
##################################################
|
2007-03-19 20:30:26 +08:00
|
|
|
ADD_SUBDIRECTORY(osgsimplifier)
|
|
|
|
ADD_SUBDIRECTORY(osgsimulation)
|
|
|
|
ADD_SUBDIRECTORY(osgterrain)
|
|
|
|
ADD_SUBDIRECTORY(osgslice)
|
|
|
|
ADD_SUBDIRECTORY(osgspacewarp)
|
|
|
|
ADD_SUBDIRECTORY(osgspheresegment)
|
|
|
|
ADD_SUBDIRECTORY(osgspotlight)
|
|
|
|
ADD_SUBDIRECTORY(osgstereoimage)
|
|
|
|
ADD_SUBDIRECTORY(osgteapot)
|
|
|
|
ADD_SUBDIRECTORY(osgtessellate)#)
|
|
|
|
ADD_SUBDIRECTORY(osgtext)
|
|
|
|
ADD_SUBDIRECTORY(osgtexture1D)
|
|
|
|
ADD_SUBDIRECTORY(osgtexture2D)
|
|
|
|
ADD_SUBDIRECTORY(osgtexture3D)
|
|
|
|
ADD_SUBDIRECTORY(osgtexturerectangle)
|
|
|
|
ADD_SUBDIRECTORY(osgunittests)
|
|
|
|
ADD_SUBDIRECTORY(osgvertexprogram)
|
|
|
|
ADD_SUBDIRECTORY(osgvolume)
|
|
|
|
ADD_SUBDIRECTORY(osgwindows)
|
2007-03-05 21:27:55 +08:00
|
|
|
|