Add a dune-testtools resource to the package

This commit is contained in:
Dominic Kempf
2020-05-15 15:12:12 +02:00
parent 50f4914044
commit f42ced7562
3 changed files with 110 additions and 25 deletions

View File

@ -0,0 +1,28 @@
diff --git a/cmake/scripts/CMakeLists.txt b/cmake/scripts/CMakeLists.txt
index a59060b8..0d8587f3 100644
--- a/cmake/scripts/CMakeLists.txt
+++ b/cmake/scripts/CMakeLists.txt
@@ -1,15 +1,21 @@
+# Install non-executable scripts
install(FILES
conf.py.in
CreateDoxyFile.cmake
envdetect.py
- extract_cmake_data.py
FinalizeHeadercheck.cmake
index.rst.in
InstallFile.cmake
main77.cc.in
module_library.cc.in
pyversion.py
- run-in-dune-env.sh.in
RunDoxygen.cmake
sphinx_cmake_dune.py
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dune/cmake/scripts)
+
+# Install executable programs
+install(PROGRAMS
+ extract_cmake_data.py
+ run-in-dune-env.sh.in
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dune/cmake/scripts
+)