]> git.mxchange.org Git - simgear.git/blob - simgear/props/CMakeLists.txt
Standardise SimGear libraries, for static vs shared.
[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     propsfwd.hxx
12     tiedpropertylist.hxx
13     vectorPropTemplates.hxx
14     )
15
16 set(SOURCES 
17     AtomicChangeListener.cxx
18     condition.cxx
19     propertyObject.cxx
20     props.cxx
21     props_io.cxx
22     )
23
24 simgear_component(props props "${SOURCES}" "${HEADERS}")
25
26 if(ENABLE_TESTS)
27 add_executable(test_props props_test.cxx)
28 target_link_libraries(test_props SimGearCore)
29 add_test(test_props ${EXECUTABLE_OUTPUT_PATH}/test_props)
30
31 add_executable(test_propertyObject propertyObject_test.cxx)
32 target_link_libraries(test_propertyObject SimGearCore)
33 add_test(test_propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)
34 endif(ENABLE_TESTS)