X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bb89977ebcb270b49d2806048a4d2f5a944a5997..8d38503da91e1cc122581ca0d34b5181c78d41bd:/doc/doxygen/inside_cmake.doc diff --git a/doc/doxygen/inside_cmake.doc b/doc/doxygen/inside_cmake.doc index 4d89a4988c..616a21987b 100644 --- a/doc/doxygen/inside_cmake.doc +++ b/doc/doxygen/inside_cmake.doc @@ -3,6 +3,24 @@ \tableofcontents +\section inside_cmake_intro Generalities on Cmake + +\subsection inside_cmake_what What is Cmake? + +CMake is a family of tools designed to build, test and package +software. CMake is used to control the software compilation process +using simple platform and compiler independent configuration files. +CMake generates native makefiles and workspaces that can be used in +the compiler environment of your choice. For more information see +official web site here. + +\subsection inside_cmake_why Why cmake? + +CMake permits to developers to compile projects on different +platforms. Then many tools are embedded like ctest for making test, a +link to cdash for vizualise results but also test coverage and bug +reports. + \section inside_cmake_addsrc How to add source files? If you want modified, add or delete source files from a library you have to edit /buildtools/Cmake/DefinePackages.cmake. @@ -106,7 +124,7 @@ set(txt_files \endverbatim Then, you have to follow these steps: -\li Add the following line to /buildtools/Cmake/MakeExeLib.cmake: +\li Add the following line to /buildtools/Cmake/MakeExe.cmake: \verbatim add_subdirectory(${CMAKE_HOME_DIRECTORY}/) \endverbatim