File links to preCICE configuration files are missing

Description

When building the executables, e.g. the tests, CMake creates file links to DuMuX input files NAME.input. However, there are not links to preCICE configuration files NAME.xml although there is a Macro defined in some of the CMakelists.txt. In test/partitioned/flow-over-square-2d/CMakelists.txt the following macro exists:

macro(add_precice_file_links)
  FILE(GLOB precice_files *.xml)
  foreach(VAR ${input_files})
    get_filename_component(file_name ${VAR} NAME)
    dune_symlink_to_source_files(FILES ${file_name})
  endforeach()
endmacro()
add_precice_file_links()

This macro is almost identical to the Macro defined in the DuMuX project. DuMux ships a file called AddInputFileLinks.cmake in the directory cmake/modules/AddInputFileLinks.cmake.

Not that the tests work since they explicitly point to the input files that reside outside the build-cmake directory.

Environment

Ubuntu 20.04 LTS, preCICE 2.3.0, DuMuX 3.4, DUNE 2.8, DuMuX-preCICE develop

Steps to reproduce

Build tests, e.g., via make build_tests. Then navigate to any directory containing tests, e.g. build-cmake/test/partitioned/flow-over-square-2d.

Expected behavior

There are file links for all input files (DuMuX and preCICE) needed.

Actual behavior

Only file links for DuMuX input files are present.