# #
###########################################################################
+MESSAGE(STATUS "")
+MESSAGE(STATUS "Configuring done. Include CMakeLists.txt now.")
+
IF(DEAL_II_HAVE_BUNDLED_DIRECTORY)
ADD_SUBDIRECTORY(bundled)
ENDIF()
#
FILE(READ ${CMAKE_BINARY_DIR}/summary.log DEAL_II_LOG_SUMMARY)
MESSAGE("${DEAL_II_LOG_SUMMARY}")
-
##
#####
+
#
-# Set up all necessary bits for the documentation
+# Required packages for the document generation:
#
+FIND_PACKAGE(Perl)
+FIND_PACKAGE(Doxygen)
+
+#
+# Set up all necessary bits for the documentation
+#
IF(DEAL_II_COMPONENT_DOCUMENTATION)
+ #
+ # Do we have all necessary dependencies?
+ #
+ IF(NOT PERL_FOUND)
+ MESSAGE(FATAL_ERROR
+ "Could not find a perl installation which is required for building the documentation"
+ )
+ ENDIF()
+ IF(NOT DOXYGEN_FOUND OR NOT DOXYGEN_DOT_FOUND)
+ MESSAGE(FATAL_ERROR
+ "Could not find doxygen and dot which is required for building the documentation"
+ )
+ ENDIF()
+
#
# Generate the source documentation via doxygen:
#
##
#####
-FIND_PACKAGE(Perl REQUIRED)
-FIND_PACKAGE(Doxygen REQUIRED)
-
-IF(NOT DOXYGEN_FOUND OR NOT DOXYGEN_DOT_FOUND)
- # Just to be sure that we actually have dot...
- MESSAGE(FATAL_ERROR
- "Could not find doxygen and dot which is required for building the documentation"
- )
-ENDIF()
-
-
#
# Prepare the example steps for doxygen:
#
-
ADD_SUBDIRECTORY(tutorial)
ADD_SUBDIRECTORY(images)
-
#
# Prepare auxiliary files for doxygen:
#
-
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/options.dox.in
${CMAKE_CURRENT_BINARY_DIR}/options.dox
#
# Finalize the doxygen configuration:
#
-
file(GLOB doxygen_input
${CMAKE_CURRENT_SOURCE_DIR}/headers/*.h
${CMAKE_SOURCE_DIR}/contrib/parameter_gui/*.h
#
# And, finally, call doxygen:
#
-
ADD_CUSTOM_COMMAND(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/doxygen.log