From: Arnaud Giersch Date: Thu, 31 May 2012 15:43:33 +0000 (+0200) Subject: Don't lie about VCS. X-Git-Tag: v3_8~654^2~13 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1646f992b45dc1240e514ed0ce0e5f9ed02f3e55?ds=sidebyside Don't lie about VCS. --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index e00a914585..0ab58f2e64 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -408,7 +408,7 @@ endif(pthread) ############### -## SVN version check +## GIT version check ## if(EXISTS ${CMAKE_HOME_DIRECTORY}/.git/ AND NOT WIN32) exec_program("git remote | head -n 1" OUTPUT_VARIABLE remote RETURN_VALUE ret) diff --git a/buildtools/Cmake/PrintArgs.cmake b/buildtools/Cmake/PrintArgs.cmake index a06bded025..1e06c8537b 100644 --- a/buildtools/Cmake/PrintArgs.cmake +++ b/buildtools/Cmake/PrintArgs.cmake @@ -113,7 +113,7 @@ message("") message(" INSTALL_PREFIX ......: ${CMAKE_INSTALL_PREFIX}") exec_program("${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/Testing/Notes/" OUTPUT_VARIABLE OKIDOKI) -file(WRITE ${PROJECT_BINARY_DIR}/Testing/Notes/Build "SVN version : ${SVN_VERSION}\n") +file(WRITE ${PROJECT_BINARY_DIR}/Testing/Notes/Build "GIT version : ${GIT_VERSION}\n") file(APPEND ${PROJECT_BINARY_DIR}/Testing/Notes/Build "Release : simgrid-${release_version}\n") file(APPEND ${PROJECT_BINARY_DIR}/Testing/Notes/Build "Pipol user : $ENV{PIPOL_USER}\n") file(APPEND ${PROJECT_BINARY_DIR}/Testing/Notes/Build "Pipol image : $ENV{PIPOL_IMAGE}\n")