X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a6b0a991a67e6f2f67c03fed43529e078da7115..df016dbb4c27e8824d3f108cec36e76cf35eeb06:/doc/doxygen/inside_cmake.doc diff --git a/doc/doxygen/inside_cmake.doc b/doc/doxygen/inside_cmake.doc index b2de29f530..5d47cfb05d 100644 --- a/doc/doxygen/inside_cmake.doc +++ b/doc/doxygen/inside_cmake.doc @@ -120,27 +120,22 @@ set(txt_files ) \endverbatim -Then, you have to follow these steps: -\li Add the following line to /tools/cmake/MakeExe.cmake: +Then, you have to add your CMakeLists.txt to CMAKEFILES_TXT in /tools/cmake/DefinePackages.cmake: \verbatim -add_subdirectory(${CMAKE_HOME_DIRECTORY}/) -\endverbatim - -\li Add your CMakeLists.txt to CMAKE_SOURCE_FILES in /tools/cmake/DefinePackages.cmake: -\verbatim -set(CMAKE_SOURCE_FILES - CMakeLists.txt - .... +set(CMAKEFILES_TXT ) \endverbatim -\li Add the tesh file and register your example to the testing - infrastructure. See \ref inside_tests_add_integration for more - details. +And finally, add the tesh file and register your example to the +testing infrastructure. See \ref inside_tests_add_integration for more +details. Once you're done, you must run "make distcheck" to ensure that you did -not forget to add any file to the distributed archives. - +not forget to add any file to the distributed archives. This ensures +that everything was commited correctly, so you have to first commit +before running "make distcheck". If you forgot something, you want to +"git commit --amend". But never amend a commit that you already pushed +to public repositories! Do a second commit in that case. */