]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/CMakeLists.txt
hla: Use raw pointers for HLAFederate::_insert methods.
[simgear.git] / simgear / props / CMakeLists.txt
index a11e703e7911f8527982329d0c11f0cef5ba7d06..7a888d282ad482707039e702f4a0176228ebf82c 100644 (file)
@@ -4,6 +4,8 @@ include (SimGearComponent)
 set(HEADERS 
     AtomicChangeListener.hxx
     ExtendedPropertyAdapter.hxx
+    PropertyBasedElement.hxx
+    PropertyBasedMgr.hxx
     condition.hxx
     propertyObject.hxx
     props.hxx
@@ -15,6 +17,8 @@ set(HEADERS
 
 set(SOURCES 
     AtomicChangeListener.cxx
+    PropertyBasedElement.cxx
+    PropertyBasedMgr.cxx
     condition.cxx
     propertyObject.cxx
     props.cxx
@@ -24,19 +28,11 @@ set(SOURCES
 simgear_component(props props "${SOURCES}" "${HEADERS}")
 
 if(ENABLE_TESTS)
-
-if (SIMGEAR_SHARED)
-    set(TEST_LIBS SimGearCore)
-else()
-    set(TEST_LIBS sgprops sgxml sgstructure sgmisc sgdebug)
-endif()
-
-
 add_executable(test_props props_test.cxx)
-target_link_libraries(test_props ${TEST_LIBS})
+target_link_libraries(test_props SimGearCore)
 add_test(test_props ${EXECUTABLE_OUTPUT_PATH}/test_props)
 
 add_executable(test_propertyObject propertyObject_test.cxx)
-target_link_libraries(test_propertyObject ${TEST_LIBS})
+target_link_libraries(test_propertyObject SimGearCore)
 add_test(test_propertyObject ${EXECUTABLE_OUTPUT_PATH}/test_propertyObject)
 endif(ENABLE_TESTS)