From a1f31b02fd39bdd300e403e470a821da24d1dd6e Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 13 Mar 2016 21:40:36 +0100 Subject: [PATCH] remove the git release from the config.h to reduce the amount of rebuilds --- CMakeLists.txt | 12 ------------ include/simgrid_config.h.in | 1 - 2 files changed, 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c22fc86ed1..b2d2eb43f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,12 +110,6 @@ else() endif() set(SIMGRID_VERSION_STRING "SimGrid version ${release_version}${SIMGRID_VERSION_EXTRA}") -set(SIMGRID_VERSION_BANNER "SIMGRID_VERSION_STRING\\nCopyright (c) 2004-${SIMGRID_VERSION_DATE}. The Simgrid Team.") -if(release) - set(SIMGRID_VERSION_BANNER "${SIMGRID_VERSION_BANNER}\\nRelease build") -else() - set(SIMGRID_VERSION_BANNER "${SIMGRID_VERSION_BANNER}\\nDevelopment build") -endif() set(libsimgrid_version "${release_version}") set(libsimgrid-java_version "${release_version}") @@ -622,12 +616,6 @@ elseif(EXISTS ${CMAKE_HOME_DIRECTORY}/.gitversion) FILE(STRINGS ${CMAKE_HOME_DIRECTORY}/.gitversion GIT_VERSION) endif() -if(GIT_VERSION) - set(SIMGRID_VERSION_BANNER "${SIMGRID_VERSION_BANNER} at commit ${GIT_VERSION}") -endif() -if(GIT_DATE) - set(SIMGRID_VERSION_BANNER "${SIMGRID_VERSION_BANNER} (${GIT_DATE})") -endif() ### Generate the required headers and scripts ############################################# diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index e440d19814..1ff20fa033 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -17,7 +17,6 @@ #define SIMGRID_VERSION (100UL * (100UL * (@SIMGRID_VERSION_MAJOR@) + (@SIMGRID_VERSION_MINOR@)) + (@SIMGRID_VERSION_PATCH@)) #define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@" -#define SIMGRID_VERSION_BANNER "@SIMGRID_VERSION_BANNER@" #define HAVE_JEDULE @HAVE_JEDULE@ /* Was Jedule compiled in? */ #define HAVE_LUA @HAVE_LUA@ /* Was the Lua support compiled in? */ -- 2.20.1