]> git.mxchange.org Git - simgear.git/blob - simgear/scene/material/CMakeLists.txt
Fixed a crash: the singleton needs to be instantiated the first time SGCommandMgr...
[simgear.git] / simgear / scene / material / CMakeLists.txt
1 set(HEADERS 
2     Effect.hxx
3     EffectBuilder.hxx
4     EffectCullVisitor.hxx
5     EffectGeode.hxx
6     GLPredicate.hxx
7     Pass.hxx
8     Technique.hxx
9     TextureBuilder.hxx
10     mat.hxx
11     matlib.hxx
12     matmodel.hxx
13     mipmap.hxx
14     parseBlendFunc.hxx
15     )
16
17 set(SOURCES 
18     Effect.cxx
19     EffectBuilder.cxx
20     EffectCullVisitor.cxx
21     EffectGeode.cxx
22     GLPredicate.cxx
23     Pass.cxx
24     Technique.cxx
25     TextureBuilder.cxx
26     makeEffect.cxx
27     mat.cxx
28     matlib.cxx
29     matmodel.cxx
30     mipmap.cxx
31     parseBlendFunc.cxx
32     )
33
34 simgear_scene_component(material scene/material "${SOURCES}" "${HEADERS}")
35
36
37 if(ENABLE_TESTS)
38
39 add_executable(test_parseBlendFunc parseBlendFunc_test.cxx )
40 add_test(parseBlendFunc ${EXECUTABLE_OUTPUT_PATH}/test_parseBlendFunc)
41 target_link_libraries(test_parseBlendFunc ${TEST_LIBS} ${OPENSCENEGRAPH_LIBRARIES})
42
43 endif(ENABLE_TESTS)