2009-06-25 15:42:10 +08:00
|
|
|
|
|
|
|
IF(DYNAMIC_OPENSCENEGRAPH)
|
2009-06-26 02:03:30 +08:00
|
|
|
ADD_DEFINITIONS(-DOSGPRESENTATION_LIBRARY)
|
2009-06-25 15:42:10 +08:00
|
|
|
ELSE()
|
|
|
|
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
SET(LIB_NAME osgPresentation)
|
|
|
|
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
|
|
|
|
SET(LIB_PUBLIC_HEADERS
|
2010-07-08 18:56:34 +08:00
|
|
|
${HEADER_PATH}/Export
|
2009-06-25 15:42:10 +08:00
|
|
|
${HEADER_PATH}/AnimationMaterial
|
|
|
|
${HEADER_PATH}/CompileSlideCallback
|
|
|
|
${HEADER_PATH}/PickEventHandler
|
|
|
|
${HEADER_PATH}/SlideEventHandler
|
|
|
|
${HEADER_PATH}/SlideShowConstructor
|
|
|
|
)
|
|
|
|
|
|
|
|
# FIXME: For OS X, need flag for Framework or dylib
|
|
|
|
ADD_LIBRARY(${LIB_NAME}
|
|
|
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
|
|
|
${LIB_PUBLIC_HEADERS}
|
|
|
|
AnimationMaterial.cpp
|
|
|
|
CompileSlideCallback.cpp
|
|
|
|
PickEventHandler.cpp
|
|
|
|
SlideEventHandler.cpp
|
|
|
|
SlideShowConstructor.cpp
|
|
|
|
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
|
|
|
)
|
|
|
|
|
|
|
|
LINK_INTERNAL(${LIB_NAME}
|
|
|
|
osgViewer
|
2009-08-05 22:37:56 +08:00
|
|
|
osgManipulator
|
2009-06-25 16:53:28 +08:00
|
|
|
osgVolume
|
|
|
|
osgFX
|
2009-06-25 15:42:10 +08:00
|
|
|
osgText
|
2009-07-01 22:04:46 +08:00
|
|
|
osgGA
|
2009-06-25 15:42:10 +08:00
|
|
|
osgUtil
|
|
|
|
osgDB
|
|
|
|
osg
|
|
|
|
OpenThreads
|
|
|
|
)
|
|
|
|
LINK_CORELIB_DEFAULT(${LIB_NAME})
|
|
|
|
|
|
|
|
INCLUDE(ModuleInstall OPTIONAL)
|