1) How to compile an example: (HelloWorld)
-- Run "Git bash" (installed with git) or windows shell "cmd".
+- Run windows shell "cmd".
- Open HelloWorld Directory ('cd' command line).
- Create a build directory and change directory. (optional)
-- Type 'cmake -G"Unix Makefiles" <path_to_HelloWorld_project>'
-- Run gmake
+- Type 'cmake -G"MinGW Makefiles" <path_to_HelloWorld_project>'
+- Run mingw32-make
- You should obtain a runnable example ("HelloWorld.exe").
2) Content of this directory
\verbatim
cmake -G"MinGW Makefiles" -D[name]=[value] ... ./
-gmake
+mingw32-make
\endverbatim
\subsubsection installSimgrid_cmakecompilation2 With ccmake tool.
cmake <path> configure the project for Unix and Mac
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
\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"MinGW Makefiles" \<path_to_HelloWorld_project\>'
-\li Run gmake
+\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
\verbatim
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