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

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

From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLists.txt files for the src/ folder. I'll submit the others separately.

Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.

IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"

Line 
1
2IF(DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGANIMATION_LIBRARY)
4ELSE()
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF()
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.