root/OpenSceneGraph/trunk/src/osgAnimation/CMakeLists.txt @ 10693

Revision 10693, 2.4 kB (checked in by cedricpinson, 5 years ago)

From Cedric Pinson, The following commit include:
* Refactore of RigGeometry? to support hardware skinning
* Refactore of Timeline to split Action in differents files
* Add example how to use hardware skinning

RevLine 
[9093]1
[9949]2IF(DYNAMIC_OPENSCENEGRAPH)
[9104]3    ADD_DEFINITIONS(-DOSGANIMATION_LIBRARY)
[9949]4ELSE()
[9093]5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
[9949]6ENDIF()
[9093]7
8SET(LIB_NAME osgAnimation)
9
10
11SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
12SET(LIB_PUBLIC_HEADERS
[10344]13    ${HEADER_PATH}/Action
[10693]14    ${HEADER_PATH}/ActionAnimation
15    ${HEADER_PATH}/ActionBlendIn
16    ${HEADER_PATH}/ActionBlendOut
[10344]17    ${HEADER_PATH}/ActionCallback
[10693]18    ${HEADER_PATH}/ActionStripAnimation
[10344]19    ${HEADER_PATH}/ActionVisitor
[9877]20    ${HEADER_PATH}/Animation
21    ${HEADER_PATH}/AnimationManagerBase
22    ${HEADER_PATH}/Assert
23    ${HEADER_PATH}/BasicAnimationManager
[9370]24    ${HEADER_PATH}/Bone
[10561]25    ${HEADER_PATH}/BoneMapVisitor
[9370]26    ${HEADER_PATH}/Channel
[9877]27    ${HEADER_PATH}/CubicBezier
[10561]28    ${HEADER_PATH}/ComputeBindMatrixVisitor
[9877]29    ${HEADER_PATH}/EaseMotion
30    ${HEADER_PATH}/Export
[10561]31    ${HEADER_PATH}/FindParentAnimationManagerVisitor
[10344]32    ${HEADER_PATH}/FrameAction
[9370]33    ${HEADER_PATH}/Interpolator
34    ${HEADER_PATH}/Keyframe
[9877]35    ${HEADER_PATH}/LinkVisitor
36    ${HEADER_PATH}/MorphGeometry
37    ${HEADER_PATH}/RigGeometry
[10693]38    ${HEADER_PATH}/RigTransform
39    ${HEADER_PATH}/RigTransformHardware
40    ${HEADER_PATH}/RigTransformSoftware
[9877]41    ${HEADER_PATH}/Sampler
42    ${HEADER_PATH}/Skeleton
[10344]43    ${HEADER_PATH}/StatsVisitor
44    ${HEADER_PATH}/StatsHandler
[9877]45    ${HEADER_PATH}/Target
46    ${HEADER_PATH}/Timeline
[9370]47    ${HEADER_PATH}/TimelineAnimationManager
48    ${HEADER_PATH}/UpdateCallback
[9877]49    ${HEADER_PATH}/Vec3Packed
[9370]50    ${HEADER_PATH}/VertexInfluence
[9093]51)
52
53
54ADD_LIBRARY(${LIB_NAME}
55    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
56    ${LIB_PUBLIC_HEADERS}
[10344]57    Action.cpp
[10693]58    ActionAnimation.cpp
59    ActionBlendIn.cpp
60    ActionBlendOut.cpp
[10344]61    ActionCallback.cpp
[10693]62    ActionStripAnimation.cpp
[10344]63    ActionVisitor.cpp
[9093]64    Animation.cpp
[9877]65    AnimationManagerBase.cpp
66    BasicAnimationManager.cpp
[9093]67    Bone.cpp
[10561]68    BoneMapVisitor.cpp
[9877]69    Channel.cpp
[10561]70    FindParentAnimationManagerVisitor.cpp
[10498]71    LinkVisitor.cpp
[9877]72    MorphGeometry.cpp
[9093]73    RigGeometry.cpp
[10693]74    RigTransformHardware.cpp
75    RigTransformSoftware.cpp
[9877]76    Skeleton.cpp
[10344]77    StatsVisitor.cpp
78    StatsHandler.cpp
[9877]79    Target.cpp
[9370]80    TimelineAnimationManager.cpp
[9877]81    Timeline.cpp
82    UpdateCallback.cpp
[9093]83    VertexInfluence.cpp
[9671]84    ${OPENSCENEGRAPH_VERSIONINFO_RC}
[9093]85)
86
87LINK_INTERNAL(${LIB_NAME}
88    osg
[10352]89    osgText
90    osgGA
91    osgViewer
[9301]92    OpenThreads
[9093]93)
[9301]94
[9093]95LINK_CORELIB_DEFAULT(${LIB_NAME})
96INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.