]> https://gitweb.dealii.org/ - dealii.git/commitdiff
tests/examples/ add symlink 16471/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 28 Dec 2023 01:06:47 +0000 (20:06 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 15 Jan 2024 20:11:22 +0000 (15:11 -0500)
tests/examples/CMakeLists.txt.in

index bafa43e7b86cd50c39bb6be44ab16d2dcf36e27e..5be72f7f1c917d5ade32f37f5271fd4a1cb10d31 100644 (file)
@@ -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()
 
 #

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.