]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also collect a few forgotten header files. 18457/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 16 May 2025 04:07:39 +0000 (22:07 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 16 May 2025 04:08:33 +0000 (22:08 -0600)
source/base/CMakeLists.txt
source/differentiation/CMakeLists.txt

index 68da9f31d38385cf8e48a54ac956dc5e570a7537..7c21ccee5fdda15faa2261f5069c12479e6a7598 100644 (file)
@@ -161,8 +161,19 @@ set(_inst
   )
 
 
+# Collect the header files inside the base/ header directory. There
+# are some headers in sub-folders as well that are not represented by
+# a corresponding directory under source/base/, so glob them here as
+# well.
+#
+# Finally, there are also header files in
+# include/deal.II/boost_adaptors/ that would be otherwise unaccounted
+# for, and we'll collect them here as well, in the absence of a better
+# place.
 file(GLOB _header CONFIGURE_DEPENDS
   ${CMAKE_SOURCE_DIR}/include/deal.II/base/*.h
+  ${CMAKE_SOURCE_DIR}/include/deal.II/base/std_cxx*/*.h
+  ${CMAKE_SOURCE_DIR}/include/deal.II/boost_adaptors/*.h
   )
 
 define_object_library(object_base OBJECT ${_src} ${_header} ${_inst}
index 503fc0434940ddd10fbd3aa522a2d699d550c9db..ae38b3442c8a7182ab3ff694ad763841d58d33a1 100644 (file)
 
 add_subdirectory(ad)
 add_subdirectory(sd)
+
+
+set(_src)
+set(_inst)
+
+file(GLOB _header CONFIGURE_DEPENDS
+  ${CMAKE_SOURCE_DIR}/include/deal.II/differentiation/*.h
+  )
+
+define_object_library(object_differentiation OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_differentiation "${_inst}")
+
+collect_source_and_header_files("${_src}" "${_header}")

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.