]> git.mxchange.org Git - simgear.git/blob - simgear/scene/model/CMakeLists.txt
Fixed a crash: the singleton needs to be instantiated the first time SGCommandMgr...
[simgear.git] / simgear / scene / model / CMakeLists.txt
1 include (SimGearComponent)
2
3 set(HEADERS 
4     BoundingVolumeBuildVisitor.hxx
5     BVHDebugCollectVisitor.hxx
6     BVHPageNodeOSG.hxx
7     CheckSceneryVisitor.hxx
8     ConditionNode.hxx
9     ModelRegistry.hxx
10     PrimitiveCollector.hxx
11     SGClipGroup.hxx
12     SGInteractionAnimation.hxx
13     SGMaterialAnimation.hxx
14     SGPickAnimation.hxx
15     SGOffsetTransform.hxx
16     SGReaderWriterXML.hxx
17     SGRotateTransform.hxx
18     SGScaleTransform.hxx
19     SGText.hxx
20     SGTrackToAnimation.hxx
21     SGTranslateTransform.hxx
22     animation.hxx
23     model.hxx
24     modellib.hxx
25     particles.hxx
26     persparam.hxx
27     placement.hxx
28     )
29
30 set(SOURCES 
31     BVHPageNodeOSG.cxx
32     CheckSceneryVisitor.cxx
33     ConditionNode.cxx
34     ModelRegistry.cxx
35     PrimitiveCollector.cxx
36     SGClipGroup.cxx
37     SGInteractionAnimation.cxx
38     SGLightAnimation.cxx
39     SGPickAnimation.cxx
40     SGMaterialAnimation.cxx
41     SGOffsetTransform.cxx
42     SGReaderWriterXML.cxx
43     SGRotateTransform.cxx
44     SGScaleTransform.cxx
45     SGText.cxx
46     SGTrackToAnimation.cxx
47     SGTranslateTransform.cxx
48     animation.cxx
49     model.cxx
50     modellib.cxx
51     particles.cxx
52     persparam.cxx
53     placement.cxx    
54     shadanim.cxx
55     )
56
57 simgear_scene_component(model scene/model "${SOURCES}" "${HEADERS}")
58
59 if(ENABLE_TESTS)
60
61   add_executable(test_animations animation_test.cxx)
62   target_link_libraries(test_animations ${TEST_LIBS} ${OPENSCENEGRAPH_LIBRARIES})
63   add_test(animations ${EXECUTABLE_OUTPUT_PATH}/test_animations)
64
65 endif(ENABLE_TESTS)