]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Doc: Finish cmake-internals.html
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 13 Jul 2013 12:39:07 +0000 (12:39 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 13 Jul 2013 12:39:07 +0000 (12:39 +0000)
Also 30k get.

git-svn-id: https://svn.dealii.org/trunk@29997 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/development/cmake-internals.html

index fd31c2e488a2fcc4daabfb96470457036f4e7fb8..cacc2e4bbe0126b59a68d3154603302eb8c9a212 100644 (file)
@@ -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>
       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
       )
     #
     # A list of instantiations that must be expanded:
     #
-    SET(inst_in_files
+    SET(_inst
       ...
       dof_tools.inst.in
       )
     #   ${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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.