From: Wolfgang Bangerth Date: Thu, 22 Oct 2015 21:41:41 +0000 (-0500) Subject: Minor cleanup. X-Git-Tag: v8.4.0-rc2~287^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2502f1379ee331382635a4e85796cd6ad484408;p=dealii.git Minor cleanup. --- diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt index 4810247f8b..16405aeb58 100644 --- a/doc/doxygen/CMakeLists.txt +++ b/doc/doxygen/CMakeLists.txt @@ -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