set(SPEC_HALO_DEPTH "2" CACHE STRING "Set the mesh specialization halo depth")
mark_as_advanced(SPEC_HALO_DEPTH)
if(SPEC_HALO_DEPTH LESS 2)
  message(FATAL_ERROR "SPEC_HALO_DEPTH must be at least 2")
endif()

modules_headers(
  control.hh
  exports.hh
  labels.hh
  mesh.hh
  runtime.hh
  tasks/utils.hh
  types.hh
  utils.hh
)

modules_add_unit(spec-mesh
  SOURCES
    test/mesh.cc
)
