Files
simgear/simgear/props/CMakeLists.txt
T

31 lines
769 B
CMake

include (SimGearComponent)
set(HEADERS
AtomicChangeListener.hxx
ExtendedPropertyAdapter.hxx
condition.hxx
propertyObject.hxx
props.hxx
props_io.hxx
tiedpropertylist.hxx
)
set(SOURCES
AtomicChangeListener.cxx
condition.cxx
propertyObject.cxx
props.cxx
props_io.cxx
)
simgear_component(props props "${SOURCES}" "${HEADERS}")
add_executable(test_props props_test.cxx)
target_link_libraries(test_props sgprops sgxml sgstructure sgmisc sgdebug)
add_test(test_props ${EXECUTABLE_OUTPUT_PATH}/test_props)
add_executable(test_propertyObject propertyObject_test.cxx)
target_link_libraries(test_propertyObject sgprops sgstructure sgdebug)
add_test(test_propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)