X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/66b0686fe441796325c3b5738b1b880d15ce1ea6..7c74728755ef56025569e262cc8056e4650dd4c8:/doc/HelloWorld/README diff --git a/doc/HelloWorld/README b/doc/HelloWorld/README index 2fcbf6976d..67b0585fd9 100644 --- a/doc/HelloWorld/README +++ b/doc/HelloWorld/README @@ -2,11 +2,11 @@ This is a very simple example to explain how to compile with simgrid. 1) How to compile an example: (HelloWorld) -- Run "Git bash" (installed with git). +- Run windows shell "cmd". - Open HelloWorld Directory ('cd' command line). - Create a build directory and change directory. (optional) -- Type 'cmake -G"Unix Makefiles" ' -- Run gmake +- Type 'cmake -G"MinGW Makefiles" ' +- Run mingw32-make - You should obtain a runnable example ("HelloWorld.exe"). 2) Content of this directory @@ -15,9 +15,6 @@ This is a very simple example to explain how to compile with simgrid. The example source file. - CMakeLists.txt It allows to configure the project. -- FindPCRE.cmake - Simgrid needs pcre regular expression. - This finds and links to the pcre library. - README This explaination. @@ -27,7 +24,7 @@ This is a very simple example to explain how to compile with simgrid. - Edit CMakeLists.txt : * In the Targets section add those two lines: add_executable(TARGET_NAME SOURCES) - target_link_libraries(TARGET_NAME simgrid pcre) + target_link_libraries(TARGET_NAME simgrid) * It creates a target called 'TARGET_NAME.exe' with the sources 'SOURCES'. - To initialize your project, you'll need to run 'cmake -G"Unix Makefiles" .' - To build you project, run "cmake ."