X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bb89977ebcb270b49d2806048a4d2f5a944a5997..0efcfe60e36cdc4e20e4deebe3abb38d22842b49:/doc/doxygen/inside_cmake.doc diff --git a/doc/doxygen/inside_cmake.doc b/doc/doxygen/inside_cmake.doc index 4d89a4988c..4d95e0c836 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. @@ -32,8 +50,8 @@ done by adding the files to the EXTRA_DIST list, as in the following example: \verbatim -### If f2c is installed compiled source other-whise source is only copy in the dist -if(SMPI_F2C) +### If fortran is installed compile source other-whise source is only copied in the dist +if(SMPI_FORTRAN) set(SMPI_SRC ${SMPI_SRC} src/smpi/smpi_f77.c @@ -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