enable_if_supported(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
enable_if_supported(DEAL_II_CXX_FLAGS -Wno-uninitialized)
-deal_ii_add_library(obj_boost_iostreams OBJECT ${src_boost_iostreams})
+define_object_library(bundled_boost_iostreams OBJECT ${src_boost_iostreams})
enable_if_supported(DEAL_II_CXX_FLAGS -Wno-deprecated-copy)
enable_if_supported(DEAL_II_CXX_FLAGS -Wno-uninitialized)
-deal_ii_add_library(obj_boost_serialization OBJECT ${src_boost_serialization})
+define_object_library(bundled_boost_serialization OBJECT ${src_boost_serialization})
error_code.cpp
)
-deal_ii_add_library(obj_boost_system OBJECT ${src_boost_system})
+define_object_library(bundled_boost_system OBJECT ${src_boost_system})
enable_if_supported(DEAL_II_CXX_FLAGS -Wno-suggest-override)
enable_if_supported(DEAL_II_CXX_FLAGS -Wno-unused-but-set-parameter)
-deal_ii_add_library(obj_kokkos OBJECT ${src_kokkos})
+define_object_library(bundled_kokkos OBJECT ${src_kokkos})
include/
)
-deal_ii_add_library(obj_muparser OBJECT
+define_object_library(bundled_muparser OBJECT
src/muParserBase.cpp
src/muParserBytecode.cpp
src/muParserCallback.cpp
tbb/tbb_thread.cpp
tbb/x86_rtm_rw_mutex.cpp
)
-deal_ii_add_library(obj_tbb OBJECT ${src_tbb})
+define_object_library(bundled_tbb OBJECT ${src_tbb})
#
# Add necessary definitions:
#
-deal_ii_add_definitions(obj_tbb "__TBB_BUILD=1")
-deal_ii_add_definitions(obj_tbb "USE_PTHREAD")
+deal_ii_add_definitions(bundled_tbb "__TBB_BUILD=1")
+deal_ii_add_definitions(bundled_tbb "USE_PTHREAD")
if(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
- deal_ii_add_definitions(obj_tbb "DO_ITT_NOTIFY")
+ deal_ii_add_definitions(bundled_tbb "DO_ITT_NOTIFY")
endif()
amd_valid.cc
)
-deal_ii_add_library(obj_amd_int OBJECT ${src_amd})
-deal_ii_add_definitions(obj_amd_int "DINT")
+define_object_library(bundled_amd_int OBJECT ${src_amd})
+deal_ii_add_definitions(bundled_amd_int "DINT")
-deal_ii_add_library(obj_amd_long OBJECT ${src_amd})
-deal_ii_add_definitions(obj_amd_long "DLONG")
+define_object_library(bundled_amd_long OBJECT ${src_amd})
+deal_ii_add_definitions(bundled_amd_long "DLONG")
-deal_ii_add_library(obj_amd_global OBJECT "amd_global.cc")
+define_object_library(bundled_amd_global OBJECT "amd_global.cc")
#-------------------------------------------------------------------------------
# Do what the GNUmakefile calls the DI targets:
-deal_ii_add_library(obj_umfpack_L_UMF OBJECT ${src_umfpack_DL_AND_ZL})
-deal_ii_add_definitions(obj_umfpack_L_UMF "DLONG")
+define_object_library(bundled_umfpack_L_UMF OBJECT ${src_umfpack_DL_AND_ZL})
+deal_ii_add_definitions(bundled_umfpack_L_UMF "DLONG")
# Repeat these steps for complex-valued matrices. This corresponds to
# the ZL targets:
-deal_ii_add_library(obj_umfpack_Z_UMF OBJECT ${src_umfpack_DL_AND_ZL})
-deal_ii_add_definitions(obj_umfpack_Z_UMF "ZLONG")
+define_object_library(bundled_umfpack_Z_UMF OBJECT ${src_umfpack_DL_AND_ZL})
+deal_ii_add_definitions(bundled_umfpack_Z_UMF "ZLONG")
# Do what the GNUmakefile calls the LL targets:
-deal_ii_add_library(obj_umfpack_L_UMFPACK OBJECT ${src_umfpack_LL})
-deal_ii_add_definitions(obj_umfpack_L_UMFPACK "DLONG")
+define_object_library(bundled_umfpack_L_UMFPACK OBJECT ${src_umfpack_LL})
+deal_ii_add_definitions(bundled_umfpack_L_UMFPACK "DLONG")
#-------------------------------------------------------------------------------
# version.
#-------------------------------------------------------------------------------
-deal_ii_add_library(obj_umfpack_DL_TSOLVE OBJECT umf_ltsolve.cc umf_utsolve.cc)
-deal_ii_add_definitions(obj_umfpack_DL_TSOLVE "DLONG" "CONJUGATE_SOLVE")
+define_object_library(bundled_umfpack_DL_TSOLVE OBJECT umf_ltsolve.cc umf_utsolve.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_TSOLVE "DLONG" "CONJUGATE_SOLVE")
-deal_ii_add_library(obj_umfpack_DL_TRIPLET_MAP_NOX OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_DL_TRIPLET_MAP_NOX "DLONG" "DO_MAP")
+define_object_library(bundled_umfpack_DL_TRIPLET_MAP_NOX OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_TRIPLET_MAP_NOX "DLONG" "DO_MAP")
-deal_ii_add_library(obj_umfpack_DL_TRIPLET_MAP_X OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_DL_TRIPLET_MAP_X "DLONG" "DO_MAP" "DO_VALUES")
+define_object_library(bundled_umfpack_DL_TRIPLET_MAP_X OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_TRIPLET_MAP_X "DLONG" "DO_MAP" "DO_VALUES")
-deal_ii_add_library(obj_umfpack_DL_TRIPLET_NOMAP_X OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_DL_TRIPLET_NOMAP_X "DLONG" "DO_VALUES")
+define_object_library(bundled_umfpack_DL_TRIPLET_NOMAP_X OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_TRIPLET_NOMAP_X "DLONG" "DO_VALUES")
-deal_ii_add_library(obj_umfpack_DL_TRIPLET_NOMAP_NOX OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_DL_TRIPLET_NOMAP_NOX "DLONG")
+define_object_library(bundled_umfpack_DL_TRIPLET_NOMAP_NOX OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_TRIPLET_NOMAP_NOX "DLONG")
-deal_ii_add_library(obj_umfpack_DL_STORE OBJECT umf_store_lu.cc)
-deal_ii_add_definitions(obj_umfpack_DL_STORE "DLONG" "DROP")
+define_object_library(bundled_umfpack_DL_STORE OBJECT umf_store_lu.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_STORE "DLONG" "DROP")
-deal_ii_add_library(obj_umfpack_DL_ASSEMBLE OBJECT umf_assemble.cc)
-deal_ii_add_definitions(obj_umfpack_DL_ASSEMBLE "DLONG" "FIXQ")
+define_object_library(bundled_umfpack_DL_ASSEMBLE OBJECT umf_assemble.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_ASSEMBLE "DLONG" "FIXQ")
-deal_ii_add_library(obj_umfpack_DL_SOLVE OBJECT umfpack_solve.cc)
-deal_ii_add_definitions(obj_umfpack_DL_SOLVE "DLONG" "WSOLVE")
+define_object_library(bundled_umfpack_DL_SOLVE OBJECT umfpack_solve.cc)
+deal_ii_add_definitions(bundled_umfpack_DL_SOLVE "DLONG" "WSOLVE")
# Again with complex arguments:
-deal_ii_add_library(obj_umfpack_ZL_TSOLVE OBJECT umf_ltsolve.cc umf_utsolve.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_TSOLVE "ZLONG" "CONJUGATE_SOLVE")
+define_object_library(bundled_umfpack_ZL_TSOLVE OBJECT umf_ltsolve.cc umf_utsolve.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_TSOLVE "ZLONG" "CONJUGATE_SOLVE")
-deal_ii_add_library(obj_umfpack_ZL_TRIPLET_MAP_NOX OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_TRIPLET_MAP_NOX "ZLONG" "DO_MAP")
+define_object_library(bundled_umfpack_ZL_TRIPLET_MAP_NOX OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_TRIPLET_MAP_NOX "ZLONG" "DO_MAP")
-deal_ii_add_library(obj_umfpack_ZL_TRIPLET_MAP_X OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_TRIPLET_MAP_X "ZLONG" "DO_MAP" "DO_VALUES")
+define_object_library(bundled_umfpack_ZL_TRIPLET_MAP_X OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_TRIPLET_MAP_X "ZLONG" "DO_MAP" "DO_VALUES")
-deal_ii_add_library(obj_umfpack_ZL_TRIPLET_NOMAP_X OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_TRIPLET_NOMAP_X "ZLONG" "DO_VALUES")
+define_object_library(bundled_umfpack_ZL_TRIPLET_NOMAP_X OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_TRIPLET_NOMAP_X "ZLONG" "DO_VALUES")
-deal_ii_add_library(obj_umfpack_ZL_TRIPLET_NOMAP_NOX OBJECT umf_triplet.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_TRIPLET_NOMAP_NOX "ZLONG")
+define_object_library(bundled_umfpack_ZL_TRIPLET_NOMAP_NOX OBJECT umf_triplet.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_TRIPLET_NOMAP_NOX "ZLONG")
-deal_ii_add_library(obj_umfpack_ZL_STORE OBJECT umf_store_lu.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_STORE "ZLONG" "DROP")
+define_object_library(bundled_umfpack_ZL_STORE OBJECT umf_store_lu.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_STORE "ZLONG" "DROP")
-deal_ii_add_library(obj_umfpack_ZL_ASSEMBLE OBJECT umf_assemble.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_ASSEMBLE "ZLONG" "FIXQ")
+define_object_library(bundled_umfpack_ZL_ASSEMBLE OBJECT umf_assemble.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_ASSEMBLE "ZLONG" "FIXQ")
-deal_ii_add_library(obj_umfpack_ZL_SOLVE OBJECT umfpack_solve.cc)
-deal_ii_add_definitions(obj_umfpack_ZL_SOLVE "ZLONG" "WSOLVE")
+define_object_library(bundled_umfpack_ZL_SOLVE OBJECT umfpack_solve.cc)
+deal_ii_add_definitions(bundled_umfpack_ZL_SOLVE "ZLONG" "WSOLVE")
#-------------------------------------------------------------------------------
# Create the generic routines (GN) using a generic rule
#-------------------------------------------------------------------------------
-deal_ii_add_library(obj_umfpack_GENERIC OBJECT ${src_umfpack_GENERIC})
+define_object_library(bundled_umfpack_GENERIC OBJECT ${src_umfpack_GENERIC})
endif()
define_interface_target(${_feature})
+ message(STATUS "")
message(STATUS "DEAL_II_WITH_${_feature} successfully set up with external dependencies.")
set(FEATURE_${_feature}_EXTERNAL_CONFIGURED TRUE)
set_cached_option(${_feature} ON)
if(FEATURE_${_feature}_HAVE_BUNDLED AND DEAL_II_ALLOW_BUNDLED)
evaluate_expression("feature_${_feature}_configure_bundled()")
+ message(STATUS "")
message(STATUS "DEAL_II_WITH_${_feature} successfully set up with bundled packages.")
set(DEAL_II_FEATURE_${_feature}_BUNDLED_CONFIGURED TRUE)
set_cached_option(${_feature} ON)
#
# A small wrapper around
-# SET_TARget_property(... PROPERTIES COMPILE_DEFINITIONS ...)
+# set_target_property(... PROPERTIES COMPILE_DEFINITIONS ...)
# to _add_ compile definitions to every target we have specified.
#
+++ /dev/null
-## ---------------------------------------------------------------------
-##
-## Copyright (C) 2012 - 2018 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.
-##
-## ---------------------------------------------------------------------
-
-#
-# A small wrapper around ADD_LIBRARY that will define a target for each
-# build type specified in DEAL_II_BUILD_TYPES. Only compatible with object
-# targets (as used in the build system).
-#
-# It is assumed that the desired compilation configuration is set via
-# DEAL_II_CXX_FLAGS_${build}
-# DEAL_II_DEFINITIONS_${build}
-#
-# as well as the global (for all build types)
-# DEAL_II_CXX_FLAGS
-# DEAL_II_DEFINITIONS
-#
-
-macro(deal_ii_add_library _library)
-
- foreach(_build ${DEAL_II_BUILD_TYPES})
- string(TOLOWER ${_build} _build_lowercase)
-
- add_library(${_library}_${_build_lowercase}
- ${ARGN}
- )
-
- set_target_properties(${_library}_${_build_lowercase} PROPERTIES
- LINKER_LANGUAGE "CXX"
- )
-
- set(_flags "${DEAL_II_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${_build}}")
-
- # Make sure some CUDA warning flags don't get deduplicated
- string(REGEX REPLACE "(-Xcudafe --diag_suppress=[^ ]+)" "\"SHELL:\\1\"" _flags ${_flags})
-
- separate_arguments(_flags UNIX_COMMAND ${_flags})
-
- target_compile_options(${_library}_${_build_lowercase} PUBLIC ${_flags})
-
- target_compile_definitions(${_library}_${_build_lowercase}
- PUBLIC ${DEAL_II_DEFINITIONS} ${DEAL_II_DEFINITIONS_${_build}}
- )
-
- target_include_directories(${_library}_${_build_lowercase}
- PUBLIC ${DEAL_II_INCLUDE_DIRS})
- target_include_directories(${_library}_${_build_lowercase}
- SYSTEM PUBLIC ${DEAL_II_BUNDLED_INCLUDE_DIRS})
-
- set_property(GLOBAL APPEND PROPERTY DEAL_II_OBJECTS_${_build}
- "$<TARGET_OBJECTS:${_library}_${_build_lowercase}>"
- )
- endforeach()
-
-endmacro()
--- /dev/null
+## ---------------------------------------------------------------------
+##
+## Copyright (C) 2012 - 2018 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.
+##
+## ---------------------------------------------------------------------
+
+#
+# define_object_target(<library>)
+#
+# A small wrapper around add_library that will define a target for each
+# build type specified in DEAL_II_BUILD_TYPES. The specified library name
+# must start with either object_ or bundled_.
+#
+# The function automatically "links" all object targets to the interface
+# targets specified in DEAL_II_TARGETS and DEAL_II_TARGETS_(BUILD|RELEASE).
+# The scope is PUBLIC so that properties of the interface targets propagate
+# to the final shared library targets.
+#
+# In addition, if the library name is of the form "object_*" then all
+# bundled targets are added to the "link" interface as well. The scope is
+# private.
+#
+
+function(define_object_library _library)
+
+ if(NOT "${_library}" MATCHES "^object_" AND NOT "${_library}" MATCHES "^bundled_")
+ message(FATAL_ERROR
+ "Internal error: The specified target name must begin with object_ "
+ "or bundled_. Encountered: ${_library}"
+ )
+ endif()
+
+ foreach(_build ${DEAL_II_BUILD_TYPES})
+ string(TOLOWER ${_build} _build_lowercase)
+
+ add_library(${_library}_${_build_lowercase} ${ARGN})
+
+ set_target_properties(${_library}_${_build_lowercase} PROPERTIES
+ LINKER_LANGUAGE "CXX"
+ )
+
+ target_link_libraries(${_library}_${_build_lowercase}
+ PUBLIC ${DEAL_II_TARGETS} ${DEAL_II_TARGETS_${_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}
+ )
+ else()
+ get_property(_bundled_object_targets
+ GLOBAL PROPERTY DEAL_II_BUNDLED_TARGETS_${build}
+ )
+ target_link_libraries(${_library}_${_build_lowercase}
+ PRIVATE ${_bundled_object_targets}
+ )
+ endif()
+
+ set_property(GLOBAL APPEND PROPERTY DEAL_II_OBJECT_TARGETS_${_build}
+ ${_library}_${_build_lowercase}
+ )
+ endforeach()
+
+endfunction()
${CMAKE_SOURCE_DIR}/include/deal.II/algorithms/*.h
)
-deal_ii_add_library(obj_algorithms OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_algorithms "${_inst}")
+define_object_library(object_algorithms OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_algorithms "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/arborx/*.h
)
-deal_ii_add_library(obj_arborx OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_arborx "${_inst}")
+define_object_library(object_arborx OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_arborx "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/base/*.h
)
-deal_ii_add_library(obj_base OBJECT ${_src} ${_header} ${_inst}
+define_object_library(object_base OBJECT ${_src} ${_header} ${_inst}
${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
)
-expand_instantiations(obj_base "${_inst}")
+expand_instantiations(object_base "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/cgal/*.h
)
-deal_ii_add_library(obj_cgal OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_cgal "${_inst}")
+define_object_library(object_cgal OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_cgal "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/differentiation/ad/*.h
)
-deal_ii_add_library(obj_differentiation_ad OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_differentiation_ad "${_inst}")
+define_object_library(object_differentiation_ad OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_differentiation_ad "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/differentiation/sd/*.h
)
-deal_ii_add_library(obj_differentiation_sd OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_differentiation_sd "${_inst}")
+define_object_library(object_differentiation_sd OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_differentiation_sd "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/distributed/*.h
)
-deal_ii_add_library(obj_distributed OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_distributed "${_inst}")
+define_object_library(object_distributed OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_distributed "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/dofs/*.h
)
-deal_ii_add_library(obj_dofs OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_dofs "${_inst}")
+define_object_library(object_dofs OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_dofs "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/fe/*.h
)
-deal_ii_add_library(obj_fe OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_fe "${_inst}")
+define_object_library(object_fe OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_fe "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/gmsh/*.h
)
-deal_ii_add_library(obj_gmsh OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_gmsh "${_inst}")
+define_object_library(object_gmsh OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_gmsh "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/grid/*.h
)
-deal_ii_add_library(obj_grid OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_grid "${_inst}")
+define_object_library(object_grid OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_grid "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/hp/*.h
)
-deal_ii_add_library(obj_hp OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_hp "${_inst}")
+define_object_library(object_hp OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_hp "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/integrators/*.h
)
-deal_ii_add_library(obj_integrators OBJECT ${_src} ${_header})
+define_object_library(object_integrators OBJECT ${_src} ${_header})
${CMAKE_SOURCE_DIR}/include/deal.II/lac/*.h
)
-deal_ii_add_library(obj_lac OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_lac "${_inst}")
+define_object_library(object_lac OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_lac "${_inst}")
)
endif()
-deal_ii_add_library(obj_matrix_free OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_matrix_free "${_inst}")
+define_object_library(object_matrix_free OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_matrix_free "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/meshworker/*.h
)
-deal_ii_add_library(obj_meshworker OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_meshworker "${_inst}")
+define_object_library(object_meshworker OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_meshworker "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/multigrid/*.h
)
-deal_ii_add_library(obj_multigrid OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_multigrid "${_inst}")
+define_object_library(object_multigrid OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_multigrid "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/non_matching/*.h
)
-deal_ii_add_library(obj_non_matching OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_non_matching "${_inst}")
+define_object_library(object_non_matching OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_non_matching "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/numerics/*.h
)
-deal_ii_add_library(obj_numerics OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_numerics "${_inst}")
+define_object_library(object_numerics OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_numerics "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/opencascade/*.h
)
-deal_ii_add_library(obj_opencascade OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_opencascade "${_inst}")
+define_object_library(object_opencascade OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_opencascade "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/optimization/rol/*.h
)
-deal_ii_add_library(obj_rol OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_rol "${_inst}")
+define_object_library(object_rol OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_rol "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/particles/*.h
)
-deal_ii_add_library(obj_particle OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_particle "${_inst}")
+define_object_library(object_particle OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_particle "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/physics/*.h
)
-deal_ii_add_library(obj_physics OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_physics "${_inst}")
+define_object_library(object_physics OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_physics "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/physics/elasticity/*.h
)
-deal_ii_add_library(obj_physics_elasticity OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_physics_elasticity "${_inst}")
+define_object_library(object_physics_elasticity OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_physics_elasticity "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/sundials/*.h
)
-deal_ii_add_library(obj_sundials OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_sundials "${_inst}")
+define_object_library(object_sundials OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_sundials "${_inst}")
${CMAKE_SOURCE_DIR}/include/deal.II/trilinos/*.h
)
-deal_ii_add_library(obj_trilinos OBJECT ${_src} ${_header} ${_inst})
-expand_instantiations(obj_trilinos "${_inst}")
+define_object_library(object_trilinos OBJECT ${_src} ${_header} ${_inst})
+expand_instantiations(object_trilinos "${_inst}")