]> git.mxchange.org Git - simgear.git/blob - simgear/props/CMakeLists.txt
Helper for property controlled subsystems
[simgear.git] / simgear / props / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS 
5     AtomicChangeListener.hxx
6     ExtendedPropertyAdapter.hxx
7     PropertyBasedElement.hxx
8     PropertyBasedMgr.hxx
9     condition.hxx
10     propertyObject.hxx
11     props.hxx
12     props_io.hxx
13     propsfwd.hxx
14     tiedpropertylist.hxx
15     vectorPropTemplates.hxx
16     )
17
18 set(SOURCES 
19     AtomicChangeListener.cxx
20     PropertyBasedElement.cxx
21     PropertyBasedMgr.cxx
22     condition.cxx
23     propertyObject.cxx
24     props.cxx
25     props_io.cxx
26     )
27
28 simgear_component(props props "${SOURCES}" "${HEADERS}")
29
30 if(ENABLE_TESTS)
31 add_executable(test_props props_test.cxx)
32 target_link_libraries(test_props SimGearCore)
33 add_test(test_props ${EXECUTABLE_OUTPUT_PATH}/test_props)
34
35 add_executable(test_propertyObject propertyObject_test.cxx)
36 target_link_libraries(test_propertyObject SimGearCore)
37 add_test(test_propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)
38 endif(ENABLE_TESTS)