Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename the installer for windows with win32 or win64
authorunknown <pierre@.(none)>
Wed, 5 Oct 2011 08:38:05 +0000 (10:38 +0200)
committerunknown <pierre@.(none)>
Wed, 5 Oct 2011 08:38:50 +0000 (10:38 +0200)
CMakeLists.txt
buildtools/Cmake/simgrid.nsi.in

index a859a2c..db45e7e 100644 (file)
@@ -171,9 +171,12 @@ if(WIN32)
     
     if(ARCH_32_BITS)   ### Arch 32bits
         set(_WIN32 1)
+        set(NSIS_WIN_VERSION "win32")
     else(ARCH_32_BITS) ### Arch 64bits
         set(_WIN64 1)
+        set(NSIS_WIN_VERSION "win64")
     endif(ARCH_32_BITS)
+
     
     set(_XBT_WIN32 1)
     
index 2c74f04..d627181 100644 (file)
@@ -27,7 +27,7 @@
 ;--------------------------------\r
 \r
 Name "Simgrid"\r
-outFile "SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@_@SIMGRID_SYSTEM_PROCESSOR@@BIN_EXE@"\r
+outFile "SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@_@NSIS_WIN_VERSION@@BIN_EXE@"\r
 Icon "@CMAKE_HOME_DIRECTORY@\doc\webcruft\SimGrid.ico"\r
 \r
 # set the default installation directory\r