X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3dea830fcf83870034f5542b0007d2799ad9e697..bb0a82c6a53abd8c2c09cc556781fca5928bb6b9:/doc/doxygen/inside_cmake.doc diff --git a/doc/doxygen/inside_cmake.doc b/doc/doxygen/inside_cmake.doc index aae6e291ae..e043df16e2 100644 --- a/doc/doxygen/inside_cmake.doc +++ b/doc/doxygen/inside_cmake.doc @@ -23,7 +23,7 @@ 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. +If you want modified, add or delete source files from a library you have to edit /tools/cmake/DefinePackages.cmake. Chose the section you are interested in and modify it. \verbatim @@ -124,12 +124,12 @@ set(txt_files \endverbatim Then, you have to follow these steps: -\li Add the following line to /buildtools/Cmake/MakeExe.cmake: +\li Add the following line to /tools/cmake/MakeExe.cmake: \verbatim add_subdirectory(${CMAKE_HOME_DIRECTORY}/) \endverbatim -\li Add your CMakeLists.txt to CMAKE_SOURCE_FILES in /buildtools/Cmake/DefinePackages.cmake: +\li Add your CMakeLists.txt to CMAKE_SOURCE_FILES in /tools/cmake/DefinePackages.cmake: \verbatim set(CMAKE_SOURCE_FILES CMakeLists.txt @@ -150,7 +150,7 @@ not forget to add any file to the distributed archives. If you want to test a specific function or set of functions, you need a unit test. Edit -/buildtools/Cmake/UnitTesting.cmake to add your +/tools/cmake/UnitTesting.cmake to add your source file to the TEST_CFILES list, and add the corresponding unit file to the TEST_UNITS list. For example, if your file is toto.c, your unit file will be toto_unit.c. The full path to your file must be @@ -207,7 +207,7 @@ machine. Then you have to request cmake to run your test when "ctest" is launched. For that, you have to modify source -/buildtools/Cmake/AddTests.cmake. Make sure to pick +/tools/cmake/AddTests.cmake. Make sure to pick a wise name for your test. It is often useful to check a category of tests together. The only way to do so in ctest is to use the -R argument that specifies a regular expression that the test names must