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})
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_H
|
2010-07-08 18:56:34 +08:00
|
|
|
${HEADER_PATH}/Export
|
2013-08-09 00:49:33 +08:00
|
|
|
${HEADER_PATH}/Cursor
|
2013-09-02 01:24:35 +08:00
|
|
|
${HEADER_PATH}/Group
|
|
|
|
|
2013-08-22 03:54:03 +08:00
|
|
|
${HEADER_PATH}/Presentation
|
|
|
|
${HEADER_PATH}/Section
|
|
|
|
${HEADER_PATH}/Slide
|
|
|
|
${HEADER_PATH}/Layer
|
2013-09-02 01:24:35 +08:00
|
|
|
|
2013-08-22 03:54:03 +08:00
|
|
|
${HEADER_PATH}/Element
|
2013-09-02 01:24:35 +08:00
|
|
|
${HEADER_PATH}/Text
|
|
|
|
${HEADER_PATH}/Model
|
|
|
|
${HEADER_PATH}/Volume
|
|
|
|
${HEADER_PATH}/Image
|
|
|
|
${HEADER_PATH}/Movie
|
|
|
|
${HEADER_PATH}/Audio
|
2013-08-22 03:54:03 +08:00
|
|
|
|
2013-08-19 02:10:39 +08:00
|
|
|
${HEADER_PATH}/deprecated/AnimationMaterial
|
|
|
|
${HEADER_PATH}/deprecated/CompileSlideCallback
|
|
|
|
${HEADER_PATH}/deprecated/PickEventHandler
|
|
|
|
${HEADER_PATH}/deprecated/PropertyManager
|
|
|
|
${HEADER_PATH}/deprecated/KeyEventHandler
|
|
|
|
${HEADER_PATH}/deprecated/SlideEventHandler
|
|
|
|
${HEADER_PATH}/deprecated/SlideShowConstructor
|
|
|
|
${HEADER_PATH}/deprecated/Timeout
|
2009-06-25 15:42:10 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# FIXME: For OS X, need flag for Framework or dylib
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_SRC
|
2013-08-09 00:49:33 +08:00
|
|
|
Cursor.cpp
|
2013-09-03 18:17:06 +08:00
|
|
|
Group.cpp
|
|
|
|
Element.cpp
|
|
|
|
Text.cpp
|
2013-09-02 01:24:35 +08:00
|
|
|
|
2013-08-19 02:10:39 +08:00
|
|
|
deprecated/AnimationMaterial.cpp
|
|
|
|
deprecated/CompileSlideCallback.cpp
|
|
|
|
deprecated/PickEventHandler.cpp
|
|
|
|
deprecated/PropertyManager.cpp
|
|
|
|
deprecated/KeyEventHandler.cpp
|
|
|
|
deprecated/SlideEventHandler.cpp
|
|
|
|
deprecated/SlideShowConstructor.cpp
|
|
|
|
deprecated/Timeout.cpp
|
2009-06-25 15:42:10 +08:00
|
|
|
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
|
|
|
)
|
|
|
|
|
2011-03-08 21:51:13 +08:00
|
|
|
SET(TARGET_LIBRARIES
|
2009-06-25 15:42:10 +08:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2011-03-08 21:51:13 +08:00
|
|
|
SETUP_LIBRARY(${LIB_NAME})
|
|
|
|
|