]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Re-order source directories.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 5 Jan 2013 04:08:45 +0000 (04:08 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 5 Jan 2013 04:08:45 +0000 (04:08 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27929 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/CMakeLists.txt

index aa3f471e6ebd2ec37a116d13b0c50820ed1795fd..972430fc7150261c40eab2f594819ecf205762f3 100644 (file)
@@ -1,6 +1,6 @@
 #####
 ##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -21,15 +21,21 @@ INCLUDE_DIRECTORIES(
   ${CMAKE_SOURCE_DIR}/include/
   )
 
-ADD_SUBDIRECTORY(base)
-ADD_SUBDIRECTORY(distributed)
-ADD_SUBDIRECTORY(dofs)
+# 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)
+ADD_SUBDIRECTORY(lac)
+ADD_SUBDIRECTORY(base)
 ADD_SUBDIRECTORY(grid)
 ADD_SUBDIRECTORY(hp)
-ADD_SUBDIRECTORY(lac)
 ADD_SUBDIRECTORY(multigrid)
-ADD_SUBDIRECTORY(numerics)
+ADD_SUBDIRECTORY(distributed)
 
 
 FOREACH(build ${DEAL_II_BUILD_TYPES})
@@ -85,4 +91,3 @@ INSTALL(EXPORT ${DEAL_II_PROJECT_CONFIG_NAME}Targets
   DESTINATION ${DEAL_II_PROJECT_CONFIG_RELDIR}
   COMPONENT library
   )
-

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.