From 9e247a2e832e4c13f3ab6395ca745a7489bf39ec Mon Sep 17 00:00:00 2001
From: Matthias Maier <tamiko@kyomu.43-1.org>
Date: Sat, 13 Jul 2013 12:39:07 +0000
Subject: [PATCH] Doc: Finish cmake-internals.html

Also 30k get.

git-svn-id: https://svn.dealii.org/trunk@29997 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/doc/development/cmake-internals.html | 21 ++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/deal.II/doc/development/cmake-internals.html b/deal.II/doc/development/cmake-internals.html
index fd31c2e488..cacc2e4bbe 100644
--- a/deal.II/doc/development/cmake-internals.html
+++ b/deal.II/doc/development/cmake-internals.html
@@ -43,7 +43,6 @@
 	    <li><a href="#config.h.in"><code>./include/deal.II/base/config.h.in</code></a>
             <li><a href="#source"><code>./source/CMakeLists.txt</code></a>
             <li><a href="#projectconfig"><code>./cmake/config/CMakeLists.txt</code></a>
-            <li>TODO
           </ul>
 	</td>
       </tr>
@@ -601,10 +600,21 @@
       two macros:
       <pre>
 
+    #
+    # Glob for all header files associated with the object target:
+    # As this list is only for cosmetic reasons, so that associated header
+    # files show up in IDEs, we don't manage an explicit list (with the
+    # tradeoff to have to run "make rebuild_cache" when a new header file
+    # emerges...)
+    #
+    FILE(GLOB _header
+      ${CMAKE_SOURCE_DIR}/include/deal.II/dofs/*.h
+      )
+
     #
     # A list of source files forming the object target:
     #
-    SET(src
+    SET(_src
       ...
       dof_tools.cc
       )
@@ -612,7 +622,7 @@
     #
     # A list of instantiations that must be expanded:
     #
-    SET(inst_in_files
+    SET(_inst
       ...
       dof_tools.inst.in
       )
@@ -625,7 +635,10 @@
     #   ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/deal_ii_objects_(debug/release)
     # so that it is available in global scope.
     #
-    DEAL_II_ADD_LIBRARY(obj_dofs OBJECT ${src})
+    # Header files and instatiation files (${_header}, ${_inst}) are added
+    # for cosmetic reasons, so that they show up in IDEs.
+    #
+    DEAL_II_ADD_LIBRARY(obj_dofs OBJECT ${_src} ${_header} ${_inst})
 
     #
     # This macro will set up an obj_dofs.inst target for expanding all
-- 
2.39.5