For Windows :
\li cmake 2.8 <a href="http://www.cmake.org/cmake/resources/software.html">(download page)</a>
- \li perl strawberry <a href="http://www.strawberryperl.com/download/5.12.2.0/strawberry-perl-5.12.2.0.msi">(download page)</a>
+ \li MinGW <a href="http://sourceforge.net/projects/mingw/files/MinGW/">(download page)</a>
+ \li perl <a href="http://www.activestate.com/activeperl/downloads">(download page)</a>
\li git <a href="http://msysgit.googlecode.com/files/Git-1.7.4-preview20110204.exe">(download page)</a>
\subsubsection installSimgrid_cmakeoption1 Liste of options
On Windows platform:
\verbatim
-cmake -G"Unix Makefiles" -D[name]=[value] ... ./
-gmake
+cmake -G"MinGW Makefiles" -D[name]=[value] ... ./
+mingw32-make
\endverbatim
\subsubsection installSimgrid_cmakecompilation2 With ccmake tool.
\li CMake
\verbatim
cmake <path> configure the project for Unix and Mac
-cmake -G"Unix Makefiles" <path> configure the project for Windows
+cmake -G"MinGW Makefiles" <path> configure the project for Windows
make build all targets for Unix and Mac
-gmake buill all targets for windows
+ming32-make buill all targets for windows
(g)make VERBOSE=1 build all targets and print build command lines
make check test all targets and summarize
make dist make the distrib
Before start the installation, you need to be sure to have the following dependencies:
\li cmake 2.8 <a href="http://www.cmake.org/cmake/resources/software.html">(download page)</a>
- \li perl strawberry <a href="http://www.strawberryperl.com/download/5.12.2.0/strawberry-perl-5.12.2.0.msi">(download page)</a>
+ \li MinGW <a href="http://sourceforge.net/projects/mingw/files/MinGW/">(download page)</a>
+ \li perl <a href="http://www.activestate.com/activeperl/downloads">(download page)</a>
\li git <a href="http://msysgit.googlecode.com/files/Git-1.7.4-preview20110204.exe">(download page)</a>
Then download the package <a href="https://gforge.inria.fr/frs/?group_id=12">SimGrid Installer</a>,
\endverbatim
Now let's compil this example:
-\li Run "Git bash" (installed with git) or windows shell "cmd".
+\li Run windows shell "cmd".
\li Open HelloWorld Directory ('cd' command line).
\li Create a build directory and change directory. (optional)
-\li Type 'cmake -G"Unix Makefiles" \<path_to_HelloWorld_project\>'
-\li Run gmake
+\li Type 'cmake -G"MinGW Makefiles" \<path_to_HelloWorld_project\>'
+\li Run mingw32-make
\li You should obtain a runnable example ("HelloWorld.exe").
For compiling your own code you can simply copy the HelloWorld project and rename source name. It will
\endverbatim
\li To initialize and build your project, you'll need to run
\verbatim
-cmake -G"Unix Makefiles" \<path_to_HelloWorld_project\>
+cmake -G"MinGW Makefiles" \<path_to_HelloWorld_project\>
\endverbatim
-\li Run "gmake"
+\li Run "mingw32-make"
\li You should obtain "TARGET_NAME.exe".
\section installSimgrid_setting_MSG Setting up your own MSG code