]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Also export git branch and revision in deal.IIConfig.cmake and Make.global_options
authorMatthias Maier <tamiko@43-1.org>
Fri, 23 Jan 2015 13:31:35 +0000 (14:31 +0100)
committerMatthias Maier <tamiko@43-1.org>
Fri, 23 Jan 2015 14:00:45 +0000 (15:00 +0100)
cmake/config/Config.cmake.in
cmake/config/Make.global_options.in

index 184fc8d9a3e752bf86f6853d977b82e7e2472aca..a80aeee0d2140c249e2bc2470cfa8b3bfdb4ce14 100644 (file)
@@ -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@")
index a2e23124263752d4748b1c0324409ef60a695acd..697b0faaea0dc472c7d45d86abae51521d1601c6 100644 (file)
@@ -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@

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.