## -----------------------------------------------------------------------------
##
## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
## Copyright (C) 2021 - 2025 by the deal.II authors
##
## This file is part of the deal.II library.
##
## Detailed license information governing the source code and contributions
## can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
##
## -----------------------------------------------------------------------------



set(_src)
set(_inst)

if(DEAL_II_WITH_ARBORX)
  set(_src
    ${_src}
    access_traits.cc
    )

  set(_inst
    ${_inst}
    access_traits.inst.in
    )
endif()


file(GLOB _header CONFIGURE_DEPENDS
  ${CMAKE_SOURCE_DIR}/include/deal.II/arborx/*.h
  )

define_object_library(object_arborx OBJECT ${_src} ${_header} ${_inst})
expand_instantiations(object_arborx "${_inst}")

collect_source_and_header_files("${_src}" "${_header}")
