${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}Config.cmake
@ONLY
)
+configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/ConfigGit.cmake.in
+ ${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigGit.cmake
+ @ONLY
+ )
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/ConfigVersion.cmake.in
${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigVersion.cmake
${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}Config.cmake
@ONLY
)
+configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/ConfigGit.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigGit.cmake
+ @ONLY
+ )
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/ConfigVersion.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigVersion.cmake
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigGit.cmake
${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigVersion.cmake
DESTINATION ${DEAL_II_PROJECT_CONFIG_RELDIR}
COMPONENT library
set(DEAL_II_VERSION_SUBMINOR "@DEAL_II_VERSION_SUBMINOR@")
set(DEAL_II_VERSION "@DEAL_II_VERSION@")
-set(DEAL_II_GIT_BRANCH "@DEAL_II_GIT_BRANCH@")
-set(DEAL_II_GIT_REVISION "@DEAL_II_GIT_REVISION@")
-set(DEAL_II_GIT_SHORTREV "@DEAL_II_GIT_SHORTREV@")
-set(DEAL_II_GIT_TAG "@DEAL_II_GIT_TAG@")
-
set(DEAL_II_PROJECT_CONFIG_NAME "@DEAL_II_PROJECT_CONFIG_NAME@")
set(DEAL_II_BUILD_TYPE "@CMAKE_BUILD_TYPE@")
set(DEAL_II_MPIEXEC_POSTFLAGS "@MPIEXEC_POSTFLAGS@")
#
-# Information about library targets and feature configuration
+# Information about git revision, library targets and feature configuration
#
+set(DEAL_II_GIT_CONFIG "${DEAL_II_PATH}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}Git.cmake")
set(DEAL_II_TARGET_CONFIG "${DEAL_II_PATH}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}Targets.cmake")
#
--- /dev/null
+## ---------------------------------------------------------------------
+##
+## Copyright (C) 2023 - 2023 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE.md at
+## the top level directory of deal.II.
+##
+## ---------------------------------------------------------------------
+
+
+#
+# Git information
+#
+
+set(DEAL_II_GIT_BRANCH "@DEAL_II_GIT_BRANCH@")
+set(DEAL_II_GIT_REVISION "@DEAL_II_GIT_REVISION@")
+set(DEAL_II_GIT_SHORTREV "@DEAL_II_GIT_SHORTREV@")
+set(DEAL_II_GIT_TAG "@DEAL_II_GIT_TAG@")
+