]> git.mxchange.org Git - simgear.git/blob - simgear/props/CMakeLists.txt
Fix missing include in simgear/misc/strutils_test.cxx
[simgear.git] / simgear / props / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS 
5     AtomicChangeListener.hxx
6     condition.hxx
7     easing_functions.hxx
8     ExtendedPropertyAdapter.hxx
9     PropertyBasedElement.hxx
10     PropertyBasedMgr.hxx
11     PropertyInterpolationMgr.hxx
12     PropertyInterpolator.hxx
13     propertyObject.hxx
14     props.hxx
15     props_io.hxx
16     propsfwd.hxx
17     tiedpropertylist.hxx
18     vectorPropTemplates.hxx
19     )
20
21 set(SOURCES 
22     AtomicChangeListener.cxx
23     condition.cxx
24     easing_functions.cxx
25     PropertyBasedElement.cxx
26     PropertyBasedMgr.cxx
27     PropertyInterpolationMgr.cxx
28     PropertyInterpolator.cxx
29     propertyObject.cxx
30     props.cxx
31     props_io.cxx
32     )
33
34 simgear_component(props props "${SOURCES}" "${HEADERS}")
35
36 if(ENABLE_TESTS)
37
38 add_executable(test_props props_test.cxx)
39 target_link_libraries(test_props ${TEST_LIBS})
40 add_test(props ${EXECUTABLE_OUTPUT_PATH}/test_props)
41
42 add_executable(test_propertyObject propertyObject_test.cxx)
43 target_link_libraries(test_propertyObject ${TEST_LIBS})
44 add_test(propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)
45
46 add_executable(test_easing_functions easing_functions_test.cxx)
47 target_link_libraries(test_easing_functions ${TEST_LIBS})
48 add_test(easing_functions ${EXECUTABLE_OUTPUT_PATH}/test_easing_functions)
49
50 endif(ENABLE_TESTS)