OpenSceneGraph/src/osgPresentation/CMakeLists.txt

50 lines
1.0 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}/AnimationMaterial
${HEADER_PATH}/CompileSlideCallback
${HEADER_PATH}/PickEventHandler
${HEADER_PATH}/PropertyManager
${HEADER_PATH}/KeyEventHandler
${HEADER_PATH}/SlideEventHandler
${HEADER_PATH}/SlideShowConstructor
2013-01-15 19:31:44 +08:00
${HEADER_PATH}/Timeout
)
# FIXME: For OS X, need flag for Framework or dylib
SET(TARGET_SRC
AnimationMaterial.cpp
CompileSlideCallback.cpp
PickEventHandler.cpp
PropertyManager.cpp
KeyEventHandler.cpp
SlideEventHandler.cpp
SlideShowConstructor.cpp
2013-01-15 19:31:44 +08:00
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})