]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: remove old source configuration
authorMatthias Maier <tamiko@43-1.org>
Mon, 28 Nov 2022 23:53:51 +0000 (17:53 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 17 Mar 2023 12:44:53 +0000 (07:44 -0500)
31 files changed:
cmake/macros/macro_define_object_target.cmake
cmake/macros/macro_populate_target_properties.cmake [new file with mode: 0644]
cmake/macros/macro_print_target_properties.cmake [new file with mode: 0644]
cmake/macros/macro_register_feature.cmake [deleted file]
cmake/setup_write_config.cmake
source/CMakeLists.txt
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

index f64939fd11f1e4f63f254e5f4fa14509d9e780ea..f0eba3bc012c44afb60fea60195a8d8a6e9b2f17 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2018 by the deal.II authors
+## Copyright (C) 2012 - 2022 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -41,37 +41,30 @@ function(define_object_library _library)
 
   foreach(_build ${DEAL_II_BUILD_TYPES})
     string(TOLOWER ${_build} _build_lowercase)
+    set(_target "${_library}_${_build_lowercase}")
 
-    add_library(${_library}_${_build_lowercase} ${ARGN})
+    add_library(${_target} ${ARGN})
 
-    set_target_properties(${_library}_${_build_lowercase} PROPERTIES
-      LINKER_LANGUAGE "CXX"
-      )
+    #
+    # Add standard properties defined in DEAL_II_* variables:
+    #
 
-    target_link_libraries(${_library}_${_build_lowercase}
-      PUBLIC ${DEAL_II_TARGETS} ${DEAL_II_TARGETS_${_build}}
-      )
+    populate_target_properties(${_target} ${_build})
 
     if("${_library}" MATCHES "^bundled_")
       #
       # Record all bundled object libraries in the global property
       # DEAL_II_BUNDLED_TARGETS_${_build}
       #
-      set_property(GLOBAL APPEND PROPERTY DEAL_II_BUNDLED_TARGETS_${_build}
-        ${_library}_${_build_lowercase}
-        )
+      set_property(GLOBAL APPEND PROPERTY DEAL_II_BUNDLED_TARGETS_${_build} ${_target})
     else()
       get_property(_bundled_object_targets
         GLOBAL PROPERTY DEAL_II_BUNDLED_TARGETS_${build}
         )
-      target_link_libraries(${_library}_${_build_lowercase}
-        PRIVATE ${_bundled_object_targets}
-        )
+      target_link_libraries(${_target} PRIVATE ${_bundled_object_targets})
     endif()
 
-    set_property(GLOBAL APPEND PROPERTY DEAL_II_OBJECT_TARGETS_${_build}
-      ${_library}_${_build_lowercase}
-      )
+    set_property(GLOBAL APPEND PROPERTY DEAL_II_OBJECT_TARGETS_${_build} ${_target})
   endforeach()
 
 endfunction()
diff --git a/cmake/macros/macro_populate_target_properties.cmake b/cmake/macros/macro_populate_target_properties.cmake
new file mode 100644 (file)
index 0000000..4f52799
--- /dev/null
@@ -0,0 +1,94 @@
+## ---------------------------------------------------------------------
+##
+## Copyright (C) 2022 - 2022 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE.md at
+## the top level directory of deal.II.
+##
+## ---------------------------------------------------------------------
+
+#
+# populate_target_properties(<target> <build>)
+#
+# This function populate target properties according to (globally) defined
+# DEAL_II_* variables. Specifically:
+#
+#   DEAL_II_LIBRARIES DEAL_II_LIBRARIES_<build>
+#   DEAL_II_TARGETS DEAL_II_TARGETS_<build>
+#     - populating the LINK_LIBRARIES target property
+#   DEAL_II_INCLUDE_DIRS
+#     - populating the INCLUDE_DIRECTORIES target property
+#   DEAL_II_DEFINITIONS DEAL_II_DEFINITIONS_<build>
+#     - populating the COMPILE_DEFINITIONS target property
+#   DEAL_II_CXX_FLAGS DEAL_II_CXX_FLAGS_<build>
+#     - populating the COMPILE_OPTIONS target property
+#   DEAL_II_LINKER_FLAGS DEAL_II_LINKER_FLAGS_<build>
+#     - populating the LINK_OPTIONS target property
+#
+# In addition the macro sets up a BUILD_INTERFACE and INSTALL_INTERFACE
+# includes
+#
+
+function(populate_target_properties _target _build)
+
+  set_target_properties(${_target} PROPERTIES LINKER_LANGUAGE "CXX")
+
+  target_link_libraries(${_target}
+    PUBLIC ${DEAL_II_LIBRARIES} ${DEAL_II_LIBRARIES_${_build}}
+           ${DEAL_II_TARGETS} ${DEAL_II_TARGETS_${_build}}
+    )
+
+  #
+  # Include the current source directory of any target as private include
+  # and add the contents of ${DEAL_II_INCLUDE_DIRS} as a public interface.
+  #
+  target_include_directories(${_target} BEFORE PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
+  target_include_directories(${_target} SYSTEM PUBLIC ${DEAL_II_INCLUDE_DIRS})
+
+  # Build directory specific includes:
+
+  target_include_directories(${_target} PRIVATE
+    ${CMAKE_BINARY_DIR}/include
+    ${CMAKE_SOURCE_DIR}/include
+    ${DEAL_II_BUNDLED_INCLUDE_DIRS}
+    )
+
+  # Interface includes:
+
+  set(_includes
+    $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
+    $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
+    "$<INSTALL_INTERFACE:\${DEAL_II_INCLUDE_RELDIR}>"
+    )
+  foreach(_include ${DEAL_II_BUNDLED_INCLUDE_DIRS})
+    list(APPEND _includes $<BUILD_INTERFACE:${_include}>)
+  endforeach()
+  if(NOT "${DEAL_II_BUNDLED_INCLUDE_DIRS}" STREQUAL "")
+    list(APPEND _includes "$<INSTALL_INTERFACE:\${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled>")
+  endif()
+
+  target_include_directories(${_target} INTERFACE ${_includes})
+
+  target_compile_definitions(${_target}
+    PUBLIC ${DEAL_II_DEFINITIONS} ${DEAL_II_DEFINITIONS_${_build}}
+    )
+
+  separate_arguments(_compile_options UNIX_COMMAND
+    "${DEAL_II_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${_build}}"
+    )
+  target_compile_options(${_target}
+    PUBLIC $<$<COMPILE_LANGUAGE:CXX>:${_compile_options}>
+    )
+
+  separate_arguments(_link_options UNIX_COMMAND
+    "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${_build}}"
+    )
+  target_link_options(${_target} INTERFACE ${_link_options})
+
+endfunction()
diff --git a/cmake/macros/macro_print_target_properties.cmake b/cmake/macros/macro_print_target_properties.cmake
new file mode 100644 (file)
index 0000000..e627f17
--- /dev/null
@@ -0,0 +1,54 @@
+## ---------------------------------------------------------------------
+##
+## Copyright (C) 2022 - 2022 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE.md at
+## the top level directory of deal.II.
+##
+## ---------------------------------------------------------------------
+
+#
+# print_target_properties(<target> [variable])
+#
+# Prints all relevant information of the specified target.
+#
+
+function(print_target_properties _target)
+
+  if(NOT TARGET ${_target})
+    return()
+  endif()
+
+  set(_messages)
+  list(APPEND _messages "Target: ${_target}")
+
+  foreach(_property
+      TYPE
+      LINK_LIBRARIES INTERFACE_LINK_LIBRARIES
+      INCLUDE_DIRECTORIES INTERFACE_INCLUDE_DIRECTORIES
+      COMPILE_DEFINITIONS INTERFACE_COMPILE_DEFINITIONS
+      COMPILE_OPTIONS INTERFACE_COMPILE_OPTIONS
+      LINK_OPTIONS INTERFACE_LINK_OPTIONS
+      )
+    get_target_property(_value ${_target} ${_property})
+    if(NOT "${_value}" MATCHES "-NOTFOUND")
+      string(REPLACE ";" " " _value "${_value}")
+      list(APPEND _messages "  ${_property}: ${_value}")
+    endif()
+  endforeach()
+
+  if("${ARGN}" STREQUAL "")
+    foreach(_message ${_messages})
+      message(STATUS "${_message}")
+    endforeach()
+  else()
+    set(${ARGN} "${_messages}" PARENT_SCOPE)
+  endif()
+endfunction()
+
diff --git a/cmake/macros/macro_register_feature.cmake b/cmake/macros/macro_register_feature.cmake
deleted file mode 100644 (file)
index 71bf4c0..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-## ---------------------------------------------------------------------
-##
-## Copyright (C) 2013 - 2015 by the deal.II authors
-##
-## This file is part of the deal.II library.
-##
-## The deal.II library is free software; you can use it, redistribute
-## it, and/or modify it under the terms of the GNU Lesser General
-## Public License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-## The full text of the license can be found in the file LICENSE.md at
-## the top level directory of deal.II.
-##
-## ---------------------------------------------------------------------
-
-#
-# This macro is used for the feature configuration in deal.II. It adds
-# individual FEATURE_* configuration variables to the corresponding
-# DEAL_II_* variables
-#
-# Usage:
-#     register_feature(feature)
-#
-# This macro will add
-#
-#   <FEATURE>_LIBRARIES (respecting general, optimized, debug keyword)
-#
-# and all other suffixes defined in DEAL_II_LIST_SUFFIXES and
-# DEAL_II_STRING_SUFFIXES to the corresponding DEAL_II_* variables
-#
-
-macro(register_feature _feature)
-
-  if(DEFINED ${_feature}_LIBRARIES)
-    #
-    # Add ${_feature}_LIBRARIES to
-    #   DEAL_II_LIBRARIES
-    #   DEAL_II_LIBRARIES_DEBUG
-    #   DEAL_II_LIBRARIES_RELEASE
-    # depending on the "optimized", "debug" or "general" keyword
-    #
-    set(_toggle "general")
-    foreach(_tmp ${${_feature}_LIBRARIES})
-      if( "${_tmp}" STREQUAL "debug" OR
-          "${_tmp}" STREQUAL "optimized" OR
-          "${_tmp}" STREQUAL "general" )
-        set(_toggle "${_tmp}")
-      else()
-        if("${_toggle}" STREQUAL "general")
-          list(APPEND DEAL_II_LIBRARIES ${_tmp})
-        elseif("${_toggle}" STREQUAL "debug")
-          list(APPEND DEAL_II_LIBRARIES_DEBUG ${_tmp})
-        elseif("${_toggle}" STREQUAL "optimized")
-          list(APPEND DEAL_II_LIBRARIES_RELEASE ${_tmp})
-        endif()
-      endif()
-    endforeach()
-  endif()
-
-  foreach(_var ${DEAL_II_LIST_SUFFIXES})
-    if(NOT "${_var}" STREQUAL "LIBRARIES" AND DEFINED ${_feature}_${_var})
-      list(APPEND DEAL_II_${_var} ${${_feature}_${_var}})
-    endif()
-  endforeach()
-
-  foreach(_var ${DEAL_II_STRING_SUFFIXES})
-    if(DEFINED ${_feature}_${_var})
-      add_flags(DEAL_II_${_var} "${${_feature}_${_var}}")
-    endif()
-  endforeach()
-
-endmacro()
index 8bf9a2b257ef66eee0148949cb8d404e31139d4e..402d6fb2d23ba919777b27c22270ac5a6ab1dd4c 100644 (file)
@@ -106,43 +106,51 @@ endif()
 _both("#\n")
 
 _detailed(
-"#  Base configuration (prior to feature configuration):
-#        DEAL_II_CXX_FLAGS:            ${BASE_CXX_FLAGS}
+"#  Base configuration:
+#        DEAL_II_CXX_FLAGS:            ${DEAL_II_CXX_FLAGS}
 "
   )
 if(CMAKE_BUILD_TYPE MATCHES "Release")
-  _detailed("#        DEAL_II_CXX_FLAGS_RELEASE:    ${BASE_CXX_FLAGS_RELEASE}\n")
+  _detailed("#        DEAL_II_CXX_FLAGS_RELEASE:    ${DEAL_II_CXX_FLAGS_RELEASE}\n")
 endif()
 if(CMAKE_BUILD_TYPE MATCHES "Debug")
-  _detailed("#        DEAL_II_CXX_FLAGS_DEBUG:      ${BASE_CXX_FLAGS_DEBUG}\n")
+  _detailed("#        DEAL_II_CXX_FLAGS_DEBUG:      ${DEAL_II_CXX_FLAGS_DEBUG}\n")
 endif()
 
-_detailed("#        DEAL_II_LINKER_FLAGS:         ${BASE_LINKER_FLAGS}\n")
+_detailed("#        DEAL_II_LINKER_FLAGS:         ${DEAL_II_LINKER_FLAGS}\n")
 if(CMAKE_BUILD_TYPE MATCHES "Release")
-  _detailed("#        DEAL_II_LINKER_FLAGS_RELEASE: ${BASE_LINKER_FLAGS_RELEASE}\n")
+  _detailed("#        DEAL_II_LINKER_FLAGS_RELEASE: ${DEAL_II_LINKER_FLAGS_RELEASE}\n")
 endif()
 if(CMAKE_BUILD_TYPE MATCHES "Debug")
-  _detailed("#        DEAL_II_LINKER_FLAGS_DEBUG:   ${BASE_LINKER_FLAGS_DEBUG}\n")
+  _detailed("#        DEAL_II_LINKER_FLAGS_DEBUG:   ${DEAL_II_LINKER_FLAGS_DEBUG}\n")
 endif()
 
-_detailed("#        DEAL_II_DEFINITIONS:          ${BASE_DEFINITIONS}\n")
+_detailed("#        DEAL_II_DEFINITIONS:          ${DEAL_II_DEFINITIONS}\n")
 if(CMAKE_BUILD_TYPE MATCHES "Release")
-  _detailed("#        DEAL_II_DEFINITIONS_RELEASE:  ${BASE_DEFINITIONS_RELEASE}\n")
+  _detailed("#        DEAL_II_DEFINITIONS_RELEASE:  ${DEAL_II_DEFINITIONS_RELEASE}\n")
 endif()
 if(CMAKE_BUILD_TYPE MATCHES "Debug")
-  _detailed("#        DEAL_II_DEFINITIONS_DEBUG:    ${BASE_DEFINITIONS_DEBUG}\n")
+  _detailed("#        DEAL_II_DEFINITIONS_DEBUG:    ${DEAL_II_DEFINITIONS_DEBUG}\n")
 endif()
 
-_detailed("#        DEAL_II_INCLUDE_DIRS          ${BASE_INCLUDE_DIRS}\n")
-_detailed("#        DEAL_II_BUNDLED_INCLUDE_DIRS: ${BASE_BUNDLED_INCLUDE_DIRS}\n")
+_detailed("#        DEAL_II_INCLUDE_DIRS          ${DEAL_II_INCLUDE_DIRS}\n")
 
-_detailed("#        DEAL_II_LIBRARIES:            ${BASE_LIBRARIES}\n")
+_detailed("#        DEAL_II_LIBRARIES:            ${DEAL_II_LIBRARIES}\n")
 if(CMAKE_BUILD_TYPE MATCHES "Release")
-  _detailed("#        DEAL_II_LIBRARIES_RELEASE:    ${BASE_LIBRARIES_RELEASE}\n")
+  _detailed("#        DEAL_II_LIBRARIES_RELEASE:    ${DEAL_II_LIBRARIES_RELEASE}\n")
 endif()
 if(CMAKE_BUILD_TYPE MATCHES "Debug")
-  _detailed("#        DEAL_II_LIBRARIES_DEBUG:      ${BASE_LIBRARIES_DEBUG}\n")
+  _detailed("#        DEAL_II_LIBRARIES_DEBUG:      ${DEAL_II_LIBRARIES_DEBUG}\n")
 endif()
+
+_detailed("#        DEAL_II_TARGETS:              ${DEAL_II_TARGETS}\n")
+if(CMAKE_BUILD_TYPE MATCHES "Release")
+  _detailed("#        DEAL_II_TARGETS_RELEASE:      ${DEAL_II_TARGETS_RELEASE}\n")
+endif()
+if(CMAKE_BUILD_TYPE MATCHES "Debug")
+  _detailed("#        DEAL_II_TARGETS_DEBUG:        ${DEAL_II_TARGETS_DEBUG}\n")
+endif()
+
 _detailed("#        DEAL_II_VECTORIZATION_WIDTH_IN_BITS: ${DEAL_II_VECTORIZATION_WIDTH_IN_BITS}\n")
 
 if(DEAL_II_HAVE_CXX20)
index ce9b1ff232c2e8216db23b284315f5014ea4056e..e2b766ec09373da0ee67f6a1027c457f287cf191 100644 (file)
@@ -35,14 +35,6 @@ endif()
 # Compile the deal.II library
 #
 
-include_directories(
-  ${CMAKE_BINARY_DIR}/include/
-  ${CMAKE_SOURCE_DIR}/include/
-  ${DEAL_II_BUNDLED_INCLUDE_DIRS}
-  SYSTEM
-  ${DEAL_II_INCLUDE_DIRS}
-  )
-
 #
 # 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
@@ -51,6 +43,7 @@ include_directories(
 # end of everything (e.g. numerics/vectors.cc takes several minutes to
 # compile...)
 #
+set(CMAKE_INCLUDE_CURRENT_DIR true)
 add_subdirectory(numerics)
 add_subdirectory(fe)
 add_subdirectory(dofs)
@@ -83,16 +76,26 @@ foreach(build ${DEAL_II_BUILD_TYPES})
   # Combine all ${build} OBJECT targets to a ${build} library:
   #
 
-  get_property(_objects GLOBAL PROPERTY DEAL_II_OBJECTS_${build})
+  add_library(${DEAL_II_NAMESPACE}_${build_lowercase} dummy.cc)
+  add_dependencies(library ${DEAL_II_NAMESPACE}_${build_lowercase})
 
-  add_library(${DEAL_II_NAMESPACE}_${build_lowercase}
-    dummy.cc # Workaround for a bug in the Xcode generator
-    ${_objects}
+  #
+  # Add compile flags, definitions and (public) feature (recorded in
+  # DEAL_II_TARGETS(|_DEBUG|_RELEASE)).
+  #
+  populate_target_properties(${DEAL_II_NAMESPACE}_${build_lowercase} ${build})
+
+  #
+  # Add all object targets as private link targets
+  #
+  get_property(_object_targets GLOBAL PROPERTY DEAL_II_OBJECT_TARGETS_${build})
+  target_link_libraries(${DEAL_II_NAMESPACE}_${build_lowercase}
+    PRIVATE ${_object_targets}
     )
-  add_dependencies(library ${DEAL_II_NAMESPACE}_${build_lowercase})
 
   set_target_properties(${DEAL_II_NAMESPACE}_${build_lowercase}
     PROPERTIES
+    LINKER_LANGUAGE "CXX"
     VERSION "${DEAL_II_PACKAGE_VERSION}"
     #
     # Sonaming: Well... we just use the version number.
@@ -100,10 +103,6 @@ foreach(build ${DEAL_II_BUILD_TYPES})
     # a C++ library is still ABI backwards compatible :-]
     #
     SOVERSION "${DEAL_II_PACKAGE_VERSION}"
-    LINK_FLAGS "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${build}}"
-    LINKER_LANGUAGE "CXX"
-    COMPILE_DEFINITIONS "${DEAL_II_DEFINITIONS};${DEAL_II_DEFINITIONS_${build}}"
-    COMPILE_FLAGS "${DEAL_II_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${build}}"
     ARCHIVE_OUTPUT_NAME "${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}"
     LIBRARY_OUTPUT_NAME "${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}"
     RUNTIME_OUTPUT_NAME "${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}"
@@ -141,15 +140,7 @@ foreach(build ${DEAL_II_BUILD_TYPES})
       )
   endif()
 
-
-  target_link_libraries(${DEAL_II_NAMESPACE}_${build_lowercase}
-    ${DEAL_II_LIBRARIES_${build}}
-    ${DEAL_II_LIBRARIES}
-    )
-
-  file(MAKE_DIRECTORY
-    ${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}
-    )
+  file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR})
   export(TARGETS ${DEAL_II_NAMESPACE}_${build_lowercase}
     NAMESPACE "${DEAL_II_NAMESPACE}::"
     FILE ${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}Targets.cmake
index eb1c12e2b2941f27abd003f68aaf2fe3fac33d16..e9467c9741122914fca8c9d36d91a2459d2268d7 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   general_data_storage.cc
   operator.cc
index fc2c709f9f0d01893f77d87bfd5ca9dea783db8b..926c1a7c85c6eeb94c798d938fc0c7710d61f9ad 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   access_traits.cc
   )
index ed6baf880c983f126908e177be21653f112acd3e..1a134b2051dcbbbed87476a6c0198372cfedfe60 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 #
 # All source/base files are sufficiently small that they may be added to the
 # unity build file (see the developer documentation on DEAL_II_UNITY_BUILD
index 8898bc44a19336ca8df78a65ea936af0889523f5..8271c0e9c561fdf28e3609561b4bd29a6f5349ef 100644 (file)
 ##
 ## ---------------------------------------------------------------------
 
-
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
-
 set(_src
   surface_mesh.cc
   intersections.cc
 )
 
-
-
 set(_inst
 surface_mesh.inst.in
 intersections.inst.in
index f0d77650e022d47674fab34184c7210333dbc0ff..3d3b5a1a254fc51eed0806b4851a55ca96fcc533 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   ad_drivers.cc
   ad_helpers.cc
index a545a01a6f9ae0d51babc6a3bc8e4fd4906c6e09..8aa3d9ce9250170f34d19e70e7e5394eaa4bb2b8 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   symengine_math.cc
   symengine_number_types.cc
index 86a2350fd79cfb33e39c990e619c5ff54d2295dd..c03133ff60dd31d81b9f951f1c53bcfbe7362121 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   grid_refinement.cc
   cell_weights.cc
index aa49031970f2c4b016efeadfc01fe2e7d614045b..d2db6c3d6c421c1b06d7f5388df284eebf4764b0 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   block_info.cc
   dof_faces.cc
index 7f88c1771db18a6f1e3ce474786c2c705bc42031..db9b8fe7d0c1dfd40220e184a4b2da1b01c76fa2 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   block_mask.cc
   component_mask.cc
index 270faa21fff2cbe4c78cafcd93133be246d11daf..994ba926e4c6884d59d190e9094338d860c55e85 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   utilities.cc
   )
index 6d2a9641690dcab62e7a9cdabfa1ac5352dd7795..c622f699a5ca3a4d46b267d8bf7bc2a2d10959ac 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 #
 # Work around an issue where gcc emits a note that the warning
 # -Wmisleading-indentation will be disabled due to a humongous line of over
@@ -31,7 +29,6 @@ if(DEAL_II_WITH_CGAL)
     )
 endif()
 
-
 set(_unity_include_src
   cell_id.cc
   grid_refinement.cc
index e7544c3aa1fa35b546ce8e81ef5cad210358217e..d458fd3e48bd5ef6f92c1bbea56e053e7fea3b9a 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   fe_collection.cc
   fe_values.cc
index 5804c13ab3aa1a6fa02e532b5c95771d504abdfc..156573c095978f7638d7e0855f18f4a89b0b1b7a 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   )
 
index d1b9568113c387749d45b8f6abdf64bc358345e8..1ada9bea314190ccf979fc31d7274e28d4beb329 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   affine_constraints.cc
   block_sparse_matrix.cc
index e0297cfc36646333053cb6d2340cd45f6a5dc6fd..995f85a3917321bec3f570106feccca828c39ae5 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   dof_info.cc
   evaluation_template_factory.cc
index d541931787b480bb8d03deca1376d6fe11197a59..2fde5beeac252852e11ace450d235ee36127ab60 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   mesh_worker.cc
   mesh_worker_info.cc
index 6c8bf3ec569cb14b48cee6a6bd46dab1d6262d02..3f8853ca70ae2c388e30b2268b30b159a1360d95 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   mg_base.cc
   mg_level_global_transfer.cc
index 6b7837b127417eed13545c784e67f76295697a0b..607f860d9dadbcf62516eb28fd02aa5248efc6bf 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   fe_immersed_values.cc
   fe_values.cc
index f8f61fdd331320f27efa1f206332740d395f1e31..286badc19b431f10731aece1f03fa3ad8b88d3fe 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_unity_include_src
   data_out.cc
   data_out_faces.cc
index a5b03c3db6f62b20fda6b26a0d1ba310b5f719be..91f335ede8ded8255d85104e98bf6bf62505a78b 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   utilities.cc
   manifold_lib.cc
index f826d7ee3accf8fff3883a753842410a9177957d..7e741892681dcc57f340cde6129a42caf5281d49 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   )
 
index 30a8b472d6d8a7b895fc97c74496e5ee43205a98..acc2186e12eb4039bf8413de40f04f9706892e6a 100644 (file)
@@ -13,9 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   data_out.cc
   particle.cc
index 79eab43f6fcde47f00cd0117240e253b98bcc075..a5a3467e7ca4ceecbb1db187566ed642f5c1d76e 100644 (file)
@@ -16,8 +16,6 @@
 # Expand instantiations in subdirectories
 add_subdirectory("elasticity")
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   transformations.cc
   )
index 4ebcd18f61f4903475d6f42ce22a70b586c2be56..1828681caaca45f809fe51f082fd775e7fceaf17 100644 (file)
@@ -13,9 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   kinematics.cc
   standard_tensors.cc
index 3c3c5450e62431976cb85422dc84c604ebed9323..e0838b859fae01ace8276962be64a5004958db1f 100644 (file)
@@ -13,8 +13,6 @@
 ##
 ## ---------------------------------------------------------------------
 
-include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
-
 set(_src
   arkode.cc
   ida.cc

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.