]> git.mxchange.org Git - simgear.git/blob - simgear/props/CMakeLists.txt
f347df457d687ebadd1ec6b4d06bfea3d3c412e0
[simgear.git] / simgear / props / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS 
5     AtomicChangeListener.hxx
6     ExtendedPropertyAdapter.hxx
7     condition.hxx
8     propertyObject.hxx
9     props.hxx
10     props_io.hxx
11     tiedpropertylist.hxx
12     )
13
14 set(SOURCES 
15     AtomicChangeListener.cxx
16     condition.cxx
17     propertyObject.cxx
18     props.cxx
19     props_io.cxx
20     )
21
22 simgear_component(props props "${SOURCES}" "${HEADERS}")
23
24 add_executable(test_props props_test.cxx)
25 target_link_libraries(test_props sgprops sgxml sgstructure sgmisc sgdebug)
26 add_test(test_props ${EXECUTABLE_OUTPUT_PATH}/test_props)
27
28 add_executable(test_propertyObject propertyObject_test.cxx)
29 target_link_libraries(test_propertyObject sgprops sgstructure sgdebug)
30 add_test(test_propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)