From: Timo Heister Date: Thu, 28 Dec 2023 01:06:47 +0000 (-0500) Subject: tests/examples/ add symlink X-Git-Tag: relicensing~156^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8442d3bdd247cb1c82fbe3da87faceefd03c252;p=dealii.git tests/examples/ add symlink --- diff --git a/tests/examples/CMakeLists.txt.in b/tests/examples/CMakeLists.txt.in index bafa43e7b8..5be72f7f1c 100644 --- a/tests/examples/CMakeLists.txt.in +++ b/tests/examples/CMakeLists.txt.in @@ -27,6 +27,12 @@ foreach(_diff_file ${_diff_files}) set(_destination "${CMAKE_CURRENT_SOURCE_DIR}/${_destination}") file(CREATE_LINK ${_file} ${_destination} SYMBOLIC) endforeach() + + # Create a symbolic link in the temporary source directory + # so that we can access files in the example folders: + file(CREATE_LINK "${DEAL_II_SOURCE_DIR}/examples/${_step}" + "${CMAKE_CURRENT_SOURCE_DIR}/${_step}" SYMBOLIC + ) endforeach() #