From: Matthias Maier Date: Fri, 23 Jan 2015 13:31:35 +0000 (+0100) Subject: CMake: Also export git branch and revision in deal.IIConfig.cmake and Make.global_options X-Git-Tag: v8.3.0-rc1~520^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b01168c3a0b6686426e93e53e5affdea072a72a;p=dealii.git CMake: Also export git branch and revision in deal.IIConfig.cmake and Make.global_options --- diff --git a/cmake/config/Config.cmake.in b/cmake/config/Config.cmake.in index 184fc8d9a3..a80aeee0d2 100644 --- a/cmake/config/Config.cmake.in +++ b/cmake/config/Config.cmake.in @@ -35,6 +35,10 @@ SET(DEAL_II_VERSION_MINOR "@DEAL_II_VERSION_MINOR@") 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_PROJECT_CONFIG_NAME "@DEAL_II_PROJECT_CONFIG_NAME@") SET(DEAL_II_BUILD_TYPE "@CMAKE_BUILD_TYPE@") diff --git a/cmake/config/Make.global_options.in b/cmake/config/Make.global_options.in index a2e2312426..697b0faaea 100644 --- a/cmake/config/Make.global_options.in +++ b/cmake/config/Make.global_options.in @@ -35,6 +35,10 @@ DEAL_II_VERSION_MINOR = @DEAL_II_VERSION_MINOR@ DEAL_II_VERSION_SUBMINOR = @DEAL_II_VERSION_SUBMINOR@ DEAL_II_VERSION = @DEAL_II_VERSION@ +DEAL_II_GIT_BRANCH = @DEAL_II_GIT_BRANCH@ +DEAL_II_GIT_REVISION = @DEAL_II_GIT_REVISION@ +DEAL_II_GIT_SHORTREV = @DEAL_II_GIT_SHORTREV@ + DEAL_II_PROJECT_CONFIG_NAME = @DEAL_II_PROJECT_CONFIG_NAME@ DEAL_II_BUILD_TYPE = @CMAKE_BUILD_TYPE@