From: maier Date: Wed, 19 Sep 2012 17:19:38 +0000 (+0000) Subject: Add the old dependency resolution script as well X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001799b2e88ac40685982367d1dc841f34b7d9c8;p=dealii-svn.git Add the old dependency resolution script as well git-svn-id: https://svn.dealii.org/branches/branch_cmake@26518 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/CMakeLists.txt b/deal.II/CMakeLists.txt index 4384838930..9a95e2b667 100644 --- a/deal.II/CMakeLists.txt +++ b/deal.II/CMakeLists.txt @@ -345,8 +345,9 @@ ADD_SUBDIRECTORY(include) # -# Prepare the examples: +# Prepare some directories for installation: # +ADD_SUBDIRECTORY(scripts) ADD_SUBDIRECTORY(examples) diff --git a/deal.II/contrib/config/CMakeLists.txt b/deal.II/contrib/config/CMakeLists.txt index fdb88a6772..2c84cc14ad 100644 --- a/deal.II/contrib/config/CMakeLists.txt +++ b/deal.II/contrib/config/CMakeLists.txt @@ -33,4 +33,10 @@ IF(DEAL_II_INSTALL_COMPAT_FILES) COMPONENT compat_files ) + INSTALL(FILES + ${CMAKE_CURRENT_BINARY_DIR}/Version + DESTINATION ${CMAKE_INSTALL_PREFIX} + COMPONENT compat_files + ) + ENDIF() diff --git a/deal.II/scripts/CMakeLists.txt b/deal.II/scripts/CMakeLists.txt new file mode 100644 index 0000000000..2be85d6cff --- /dev/null +++ b/deal.II/scripts/CMakeLists.txt @@ -0,0 +1,15 @@ +IF(DEAL_II_INSTALL_COMPAT_FILES) + + # + # Build and install the old dependency_resolution executable: + # + + ADD_EXECUTABLE(make_dependencies make_dependencies.cc) + + INSTALL(TARGETS make_dependencies + RUNTIME + DESTINATION common/scripts + COMPONENT compat_files + ) + +ENDIF()