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

Revision 9877, 1.5 kB (checked in by robert, 6 years ago)

From Roland Smeenk & Cedric Pinson,

"Summary of changes:
From Roland
-Added MorphGeometry?
-Bone Bindmatrix is only calculated if needed
-osgAnimation plugin now supports all available channel types (before only linear vec3 or quat channels)
-osgAnimation plugin now supports MorphGeometry?
-osgAnimation plugin now supports animation and channel weights, animation playmode, duration and starttime
-removed osgAnimationManager.cpp from CMakeList

From Cedric
-fixed the last_update field (it was only updated at the first update) in BasicAnimationManager?.cpp
- Refactore some part of MorphGeometry? minor changes
- Add osganimationmorph as example
"

Line 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGANIMATION_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgAnimation)
9
10
11SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
12SET(LIB_PUBLIC_HEADERS
13    ${HEADER_PATH}/Animation
14    ${HEADER_PATH}/AnimationManagerBase
15    ${HEADER_PATH}/Assert
16    ${HEADER_PATH}/BasicAnimationManager
17    ${HEADER_PATH}/Bone
18    ${HEADER_PATH}/Channel
19    ${HEADER_PATH}/CubicBezier
20    ${HEADER_PATH}/EaseMotion
21    ${HEADER_PATH}/Export
22    ${HEADER_PATH}/Interpolator
23    ${HEADER_PATH}/Keyframe
24    ${HEADER_PATH}/LinkVisitor
25    ${HEADER_PATH}/MorphGeometry
26    ${HEADER_PATH}/RigGeometry
27    ${HEADER_PATH}/Sampler
28    ${HEADER_PATH}/Skeleton
29    ${HEADER_PATH}/Skinning
30    ${HEADER_PATH}/Target
31    ${HEADER_PATH}/Timeline
32    ${HEADER_PATH}/TimelineAnimationManager
33    ${HEADER_PATH}/UpdateCallback
34    ${HEADER_PATH}/Vec3Packed
35    ${HEADER_PATH}/VertexInfluence
36)
37
38
39ADD_LIBRARY(${LIB_NAME}
40    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
41    ${LIB_PUBLIC_HEADERS}
42    Animation.cpp
43    AnimationManagerBase.cpp
44    AnimationManager.cpp
45    BasicAnimationManager.cpp
46    Bone.cpp
47    Channel.cpp
48    MorphGeometry.cpp
49    RigGeometry.cpp
50    Skeleton.cpp
51    Target.cpp
52    TimelineAnimationManager.cpp
53    Timeline.cpp
54    UpdateCallback.cpp
55    VertexInfluence.cpp
56    ${OPENSCENEGRAPH_VERSIONINFO_RC}
57)
58
59LINK_INTERNAL(${LIB_NAME}
60    osg
61    OpenThreads
62)
63
64LINK_CORELIB_DEFAULT(${LIB_NAME})
65INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.