]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: add CONFIGURE_DEPENDS to header file globs 18424/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 5 May 2025 19:35:51 +0000 (14:35 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 5 May 2025 19:47:08 +0000 (14:47 -0500)
This ensures that the build system is reconfigured whenever the number
of header file changes.

26 files changed:
source/algorithms/CMakeLists.txt
source/arborx/CMakeLists.txt
source/base/CMakeLists.txt
source/cgal/CMakeLists.txt
source/differentiation/ad/CMakeLists.txt
source/differentiation/sd/CMakeLists.txt
source/distributed/CMakeLists.txt
source/dofs/CMakeLists.txt
source/fe/CMakeLists.txt
source/gmsh/CMakeLists.txt
source/grid/CMakeLists.txt
source/hp/CMakeLists.txt
source/integrators/CMakeLists.txt
source/lac/CMakeLists.txt
source/matrix_free/CMakeLists.txt
source/meshworker/CMakeLists.txt
source/multigrid/CMakeLists.txt
source/non_matching/CMakeLists.txt
source/numerics/CMakeLists.txt
source/opencascade/CMakeLists.txt
source/optimization/rol/CMakeLists.txt
source/particles/CMakeLists.txt
source/physics/CMakeLists.txt
source/physics/elasticity/CMakeLists.txt
source/sundials/CMakeLists.txt
source/trilinos/CMakeLists.txt

index ca18830e7c6d25a152b2ba4af45a6fdb5f68382a..a39b8acd087c1b1af733a96d04f64bdc7727f6c3 100644 (file)
@@ -22,7 +22,7 @@ set(_inst
   operator.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/algorithms/*.h
   )
 
index e87af2d1813f2ba164c6b518823db25d8dd6345f..492f357e65aab40d33ed88311a59a4a82323315c 100644 (file)
@@ -30,7 +30,7 @@ if(DEAL_II_WITH_ARBORX)
 endif()
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/arborx/*.h
   )
 
index 9f1cd08127a5a1875c668069aed8d7a2e62e91c8..68da9f31d38385cf8e48a54ac956dc5e570a7537 100644 (file)
@@ -161,7 +161,7 @@ set(_inst
   )
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/base/*.h
   )
 
index d1658c39df6163ecb89cbac96294ffb7f3932ed0..af68ec1ad6367e48817e44e1785c485e15b9d071 100644 (file)
@@ -40,7 +40,7 @@ if(DEAL_II_WITH_CGAL)
   )
 endif()
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/cgal/*.h
   )
 
index 941b5c7afacf4964d4962350566b0cb6fe650e65..4047580c1f33e6836e5feefb903990fbf2cd106f 100644 (file)
@@ -60,7 +60,7 @@ if(DEAL_II_TRILINOS_WITH_SACADO)
 endif()
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/differentiation/ad/*.h
   )
 
index 4192ad5c13b7c54cc26d9a1a7f09cd52d849fe8e..e9efd4352e297069904b7362cd9d9458ea19b2c6 100644 (file)
@@ -35,7 +35,7 @@ if(DEAL_II_WITH_SYMENGINE)
 endif()
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/differentiation/sd/*.h
   )
 
index 9fe0810890f35db6d4da81c7e8624e3fce5d6880..0d447b75d45dc6325e733d28c0552ca3a09fac4a 100644 (file)
@@ -62,7 +62,7 @@ setup_source_list("${_unity_include_src}"
   )
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/distributed/*.h
   )
 
index 8cd9a594c478d387b548ffe9c9e1226d0e98660a..e41b03da7df07644ef26b5bb56b1fbfc67a44e95 100644 (file)
@@ -54,7 +54,7 @@ set(_inst
   dof_tools_sparsity.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/dofs/*.h
   )
 
index 96be15caee7365f949c4f5d00a44b33c10d3ff96..4d68b04c260400336903e19381e464312bb3be72 100644 (file)
@@ -146,7 +146,7 @@ set(_inst
   mapping_related_data.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/fe/*.h
   )
 
index 18b506a69e3938479fe4c036d8c306f7c9803c25..a48cf27e271570ed60b369e485503d3ff27ed21e 100644 (file)
@@ -29,7 +29,7 @@ if(DEAL_II_WITH_GMSH)
 endif()
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/gmsh/*.h
   )
 
index 2f5d864651a17ea428bf79bb8deef7add7a74ae7..7b1c87ee62bd27a3cc6560f6007be18aa0f84bd2 100644 (file)
@@ -93,7 +93,7 @@ set(_inst
   tria_objects.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/grid/*.h
   )
 
index 2e0d052b1d7b42968f552c101c4437f898d4ea23..de2654d75bfb2dbdc0362ebb3412314b3f2364e0 100644 (file)
@@ -38,7 +38,7 @@ set(_inst
   refinement.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/hp/*.h
   )
 
index 93f9b8367f2e90370d6c30fc5a14837ab266cba2..51c2856d0501eba448708f6e5534fa670e8fc685 100644 (file)
@@ -15,7 +15,7 @@
 set(_src
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/integrators/*.h
   )
 
index 4c667cbe0df6fed03d432f48ac12339f4813f87f..68d9e1645f204b62495fbf8c2a0a7410967338fd 100644 (file)
@@ -191,7 +191,7 @@ setup_source_list("${_unity_include_src}"
   _src
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/lac/*.h
   )
 
index d52319c8a3cc3974f4467fc02c4961d8265843c6..448c37efe92d07bace69998a5bf59eef644bbd42 100644 (file)
@@ -48,7 +48,7 @@ set(_inst
   shape_info.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/matrix_free/*.h
   )
 
index 9f6381b541652f2533a7968d5165a8ea32422b3a..1a2afe009cf4f211c8de12f3d01e0fda1d15cb3e 100644 (file)
@@ -25,7 +25,7 @@ set(_inst
   scratch_data.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/meshworker/*.h
   )
 
index 5dd429fff26a28127c423ecc589ec3ef93c66ee1..12d9932847be5e612d313379fd53e81d9e547dde 100644 (file)
@@ -52,7 +52,7 @@ set(_inst
   multigrid.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/multigrid/*.h
   )
 
index 91d1f263554a9a07ba92f4b24e5d064d9b475bfc..4d4bacd489b5b664a792de36787b6c4f4aa8807e 100644 (file)
@@ -29,7 +29,7 @@ set(_src
   coupling.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/non_matching/*.h
   )
 
index aa5b52eee275ab5d4cbd86cdb27766706139f9e8..ef72800b84abc5288c6d259e86663f6a3e9f5823 100644 (file)
@@ -105,7 +105,7 @@ set(_inst
   vector_tools_rhs.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/numerics/*.h
   )
 
index 1004bc8d96b9514d08f5e654a6c7af7896f1bde1..46f57e28acf85bc1420558dfbbbc665a4eab20b6 100644 (file)
@@ -29,7 +29,7 @@ if (DEAL_II_WITH_OPENCASCADE)
     )
 endif()
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/opencascade/*.h
   )
 
index e870da4cc622663f5c5c4d2d36ade7f25606dc1d..f4c78d654f3280c77351e44c668fe3af26fbbf3f 100644 (file)
@@ -18,7 +18,7 @@ set(_src
 set(_inst
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/optimization/rol/*.h
   )
 
index 9e7392b51ec68ad1357831ba60fbc4175aba575b..453ba833461056977dc515cd509c6731add0c0d7 100644 (file)
@@ -29,7 +29,7 @@ set(_inst
   utilities.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/particles/*.h
   )
 
index 758646c1ed8b0ab1702c82199b9cbb20461e53ec..acbf3332c4179ff87a6323069769c41abf884c80 100644 (file)
@@ -23,7 +23,7 @@ set(_inst
   transformations.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/physics/*.h
   )
 
index b0782f13e4c50066f03e8a293959e19f20661c74..f4b8348877c99c3821e135cab23d197014fd15af 100644 (file)
@@ -22,7 +22,7 @@ set(_inst
   standard_tensors.inst.in
   )
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/physics/elasticity/*.h
   )
 
index e8f91d5d4cb159be726114196e7f76b492baf720..e6a622ebd55e1a54551e69d04544d0193068681a 100644 (file)
@@ -32,7 +32,7 @@ if (DEAL_II_WITH_SUNDIALS)
     )
 endif()
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/sundials/*.h
   )
 
index eb373a2fb2fe2eb0d52de948a688212156a328c3..fc73e8429a64fdd1cd9da53396ebee6ec524f505 100644 (file)
@@ -28,7 +28,7 @@ if(DEAL_II_TRILINOS_WITH_NOX)
 endif()
 
 
-file(GLOB _header
+file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/trilinos/*.h
   )
 

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.