OpenSceneGraph/src/osgPresentation/CMakeLists.txt

90 lines
1.8 KiB
CMake
Raw Normal View History

IF(DYNAMIC_OPENSCENEGRAPH)
2009-06-26 02:03:30 +08:00
ADD_DEFINITIONS(-DOSGPRESENTATION_LIBRARY)
ELSE()
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
ENDIF()
SET(LIB_NAME osgPresentation)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(TARGET_H
${HEADER_PATH}/Export
${HEADER_PATH}/Action
${HEADER_PATH}/Cursor
${HEADER_PATH}/Group
${HEADER_PATH}/Presentation
${HEADER_PATH}/Section
${HEADER_PATH}/Slide
${HEADER_PATH}/Layer
${HEADER_PATH}/Element
${HEADER_PATH}/Audio
${HEADER_PATH}/Image
${HEADER_PATH}/Model
${HEADER_PATH}/Movie
${HEADER_PATH}/Text
${HEADER_PATH}/Volume
${HEADER_PATH}/PresentationInterface
${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
)
# FIXME: For OS X, need flag for Framework or dylib
SET(TARGET_SRC
Action.cpp
Cursor.cpp
2013-09-03 18:17:06 +08:00
Group.cpp
Show.cpp
Presentation.cpp
Section.cpp
Slide.cpp
Layer.cpp
2013-09-03 18:17:06 +08:00
Element.cpp
Audio.cpp
Image.cpp
2013-09-05 00:25:18 +08:00
Model.cpp
Movie.cpp
Text.cpp
Volume.cpp
PresentationInterface.cpp
deprecated/AnimationMaterial.cpp
deprecated/CompileSlideCallback.cpp
deprecated/PickEventHandler.cpp
deprecated/PropertyManager.cpp
deprecated/KeyEventHandler.cpp
deprecated/SlideEventHandler.cpp
deprecated/SlideShowConstructor.cpp
deprecated/Timeout.cpp
${OPENSCENEGRAPH_VERSIONINFO_RC}
)
SET(TARGET_LIBRARIES
osgViewer
osgManipulator
2009-06-25 16:53:28 +08:00
osgVolume
osgFX
osgText
2009-07-01 22:04:46 +08:00
osgGA
osgUtil
osgDB
osg
OpenThreads
)
SETUP_LIBRARY(${LIB_NAME})