A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the version built from buildname so that cdash notices that it's another build...
[simgrid.git]
/
buildtools
/
Cmake
/
CMakeLists.txt
diff --git
a/buildtools/Cmake/CMakeLists.txt
b/buildtools/Cmake/CMakeLists.txt
index
ae769e5
..
f6d54cf
100644
(file)
--- a/
buildtools/Cmake/CMakeLists.txt
+++ b/
buildtools/Cmake/CMakeLists.txt
@@
-9,10
+9,15
@@
OPTION( SIMGRID_WITH_PTHREAD "Use pthread as context support." OFF )
OPTION( SIMGRID_USE_GTNETS "Build SimGrid with GTNets support." OFF )
OPTION( SIMGRID_USE_GTNETS "Build SimGrid with GTNets support." OFF )
+### Display the version
+find_program(CAT NAMES cat)
+exec_program("${CAT}" ARGS "version" OUTPUT_VARIABLE VERSION)
+message("svn version: " ${VERSION})
+
+
### Check 32bits or 64bits
INCLUDE (CheckTypeSize)
CHECK_TYPE_SIZE("long" SIZEOF_LONG)
### Check 32bits or 64bits
INCLUDE (CheckTypeSize)
CHECK_TYPE_SIZE("long" SIZEOF_LONG)
-#message("SIZEOF_LONG : ${SIZEOF_LONG}")
IF(SIZEOF_LONG EQUAL 4)
SET(ARCH_32_BITS 1)
ELSE(SIZEOF_LONG EQUAL 4)
IF(SIZEOF_LONG EQUAL 4)
SET(ARCH_32_BITS 1)
ELSE(SIZEOF_LONG EQUAL 4)