From: maier Date: Tue, 26 Feb 2013 10:50:01 +0000 (+0000) Subject: Pull in documentation generation early. This gives a good speedup on parallel builds X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b77a820adf590322fded30310973ec469b9b385;p=dealii-svn.git Pull in documentation generation early. This gives a good speedup on parallel builds git-svn-id: https://svn.dealii.org/branches/branch_cmake@28568 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/CMakeLists.txt b/deal.II/CMakeLists.txt index 343be8cb94..60bd19e065 100644 --- a/deal.II/CMakeLists.txt +++ b/deal.II/CMakeLists.txt @@ -117,12 +117,16 @@ INCLUDE(setup_finalize) # # ########################################################################### +IF(DEAL_II_HAVE_BUNDLED_DIRECTORY) + ADD_SUBDIRECTORY(bundled) +ENDIF() + ADD_SUBDIRECTORY(cmake/scripts) ADD_SUBDIRECTORY(include) -IF(DEAL_II_HAVE_BUNDLED_DIRECTORY) - ADD_SUBDIRECTORY(bundled) +IF(DEAL_II_HAVE_DOC_DIRECTORY) + ADD_SUBDIRECTORY(doc) ENDIF() ADD_SUBDIRECTORY(source) @@ -131,10 +135,6 @@ ADD_SUBDIRECTORY(cmake/config) # has to be included after source ADD_SUBDIRECTORY(contrib) # has to be included after source -IF(DEAL_II_HAVE_DOC_DIRECTORY) - ADD_SUBDIRECTORY(doc) -ENDIF() - ADD_SUBDIRECTORY(examples) # diff --git a/deal.II/source/CMakeLists.txt b/deal.II/source/CMakeLists.txt index 972430fc71..9481c29d09 100644 --- a/deal.II/source/CMakeLists.txt +++ b/deal.II/source/CMakeLists.txt @@ -21,12 +21,14 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include/ ) -# list the directories where we have source files. the ones with the longest +# +# List the directories where we have source files. the ones with the longest # compile jobs come first so that 'make -j N' saturates many processors also # towards the end of compiling rather than having to wait for one long # compilation that, because it has been listed last, is started towards the # end of everything (e.g. numerics/vectors.cc takes several minutes to # compile...) +# ADD_SUBDIRECTORY(numerics) ADD_SUBDIRECTORY(fe) ADD_SUBDIRECTORY(dofs)