\li cmake <a href="http://www.cmake.org/cmake/resources/software.html">(download page)</a>
For windows only :
- \li Dev-C++ <a href="http://sourceforge.net/projects/dev-cpp/">(download page)</a>
\li Visual C++ 2010 Express <a href="http://www.microsoft.com/express/Downloads/#2010-Visual-CPP">(download page)</a>
\li cmake <a href="http://www.cmake.org/cmake/resources/software.html">(download page)</a>
\li Set CC, CXX, INCLUDE, LIB and RC to environment variables.
\verbatim
-for example
- CC C:\Dev-Cpp\bin\gcc
- CXX C:\Dev-Cpp\bin\c++
- INCLUDE C:\Dev-Cpp\include
- LIB C:\Dev-Cpp\lib
- RC C:\Program Files\Microsoft SDKs\Windows\v7.OA\bin\RC
-\endverbatim
- \li nmake (embedded with Visual C++)
- \li Add to environment variable "Path" the path where to find nmake executable.
+SET --> CC TO --> C:\MicrosoftVisualStudio10\VC\bin\cl
+ --> CXX --> C:\MicrosoftVisualStudio10\VC\bin\cl
+ --> INCLUDE --> C:\MicrosoftVisualStudio10\VC\include;C:\Program Files\Microsoft SDKs\Windows\v7.OA\Include
+ --> LIB --> C:\MicrosoftVisualStudio10\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v7.OA\Lib
+ --> RC --> C:\Program Files\Microsoft SDKs\Windows\v7.OA\bin\RC
+\endverbatim
+ \li Add to environment variable "Path" the path where to find nmake executable and some needed files.
\verbatim
-for example
- Path ......;C\Microsoft\Visual Studio10\VC\bin
+......
+;C\MicrosoftVisualStudio10\VC\bin
+;C\MicrosoftVisualStudio10\Common7\IDE
+;C:\Program Files\Microsoft SDKs\Windows\v7.OA\bin
+;C:\Program Files\Microsoft SDKs\Windows\v7.OA\Lib
+;C:\Program Files\Microsoft SDKs\Windows\v7.OA\bInclude
\endverbatim
\subsection faq_cmakeoption Cmake options
\subsubsection faq_cmakeoption3 Initialisation
-Those options are initialized the first time you launch \"cmake ./\" whithout specified option.
+Those options are initialized the first time you launch "cmake ." whithout specified option.
\verbatim
enable_gtnets on
\subsubsection faq_cmakeoption4 Option's cache and how to reset?
-When options have been set they are keep into a cache file named \"CMakeCache.txt\". So if you want
+When options have been set they are keep into a cache file named "CMakeCache.txt". So if you want
reset values you just delete this file located to the project directory.
\subsection faq_cmakecompilation Cmake compilation
\subsubsection faq_cmakecompilation2bis Build out of source.
As cmake generate many files used for compilation, we recommand to make a build directory.
-For examples you can make those command :
+For examples you can make :
\verbatim
"navarrop@caraja:~/Developments$ cd simgrid/"
make maintainer-clean clean maintainer files
make all-clean execute the 5 upper clean command
make html Create simgrid documentation
-make maintainer-clean Remove all files generated by mainainer mode
\endverbatim
When the project have been succesfully compiling and build you can make tests.