]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/CMakeLists.txt
Fix #1783: repeated error message on console
[simgear.git] / simgear / structure / CMakeLists.txt
index 7679588c2da830f52f652b9626591087cc47b8a0..0c41b6225a1ae98da9b801adf1b5295532dcd996 100644 (file)
@@ -21,12 +21,17 @@ set(HEADERS
     commands.hxx
     event_mgr.hxx
     exception.hxx
+    function_list.hxx
     intern.hxx
     map.hxx
     subsystem_mgr.hxx
     StateMachine.hxx
     )
 
+set(DETAIL_HEADERS
+  detail/function_list_template.hxx
+)
+
 set(SOURCES
     SGAtomic.cxx
     SGBinding.cxx
@@ -43,6 +48,7 @@ set(SOURCES
     )
 
 simgear_component(structure structure "${SOURCES}" "${HEADERS}")
+simgear_component(structure/detail structure/detail "" "${DETAIL_HEADERS}")
 
 if(ENABLE_TESTS)
 
@@ -56,6 +62,11 @@ add_test(expressions ${EXECUTABLE_OUTPUT_PATH}/test_expressions)
 
 endif(ENABLE_TESTS)
 
+add_boost_test(function_list
+  SOURCES function_list_test.cxx
+  LIBRARIES ${TEST_LIBS}
+)
+
 add_boost_test(shared_ptr
   SOURCES shared_ptr_test.cpp
   LIBRARIES ${TEST_LIBS}