]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor cleanup.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Oct 2015 21:41:41 +0000 (16:41 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 25 Oct 2015 18:32:36 +0000 (13:32 -0500)
doc/doxygen/CMakeLists.txt

index 4810247f8b6349400ec66854d9c1152611605dbb..16405aeb5862c05ba1381bb00eb925dbf15dee9c 100644 (file)
@@ -34,17 +34,20 @@ IF(NOT DOXYGEN_FOUND)
     )
 ENDIF()
 
+########################################################################
 #
-# A glob. I'm sorry
+# Process the tutorial files into inputs for doxygen
 #
-file(GLOB DEAL_II_STEPS
-  ${CMAKE_SOURCE_DIR}/examples/step-*
-  )
+########################################################################
+
+ADD_SUBDIRECTORY(tutorial)
+
 
+########################################################################
 #
-# Prepare the example steps for doxygen:
+# Set up all of the other input pieces we want to give to doxygen
 #
-ADD_SUBDIRECTORY(tutorial) # uses ${DEAL_II_STEPS}
+########################################################################
 
 #
 # Prepare auxiliary files for doxygen:
@@ -119,7 +122,11 @@ LIST(APPEND _doxygen_depend
   ${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
   ${CMAKE_CURRENT_BINARY_DIR}/tutorial/tutorial.h
   )
-FOREACH(_step ${DEAL_II_STEPS})
+
+FILE(GLOB _deal_ii_steps
+  ${CMAKE_SOURCE_DIR}/examples/step-*
+  )
+FOREACH(_step ${_deal_ii_steps})
   GET_FILENAME_COMPONENT(_step "${_step}" NAME)
   LIST(APPEND _doxygen_depend
     ${CMAKE_CURRENT_BINARY_DIR}/tutorial/${_step}.h
@@ -139,9 +146,12 @@ FILE(APPEND "${CMAKE_CURRENT_BINARY_DIR}/options.dox"
   "
   )
 
+########################################################################
 #
 # And, finally, call doxygen:
 #
+########################################################################
+
 ADD_CUSTOM_COMMAND(
   OUTPUT
     ${CMAKE_BINARY_DIR}/doxygen.log

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.