From: Martin Quinson Date: Tue, 20 Jun 2017 05:55:55 +0000 (+0200) Subject: still improving my workflow with my new outoftree toy X-Git-Tag: v3.16~25 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2c1dd2b74b7edd9ab922d2fa6a8273bbf6c59677 still improving my workflow with my new outoftree toy --- diff --git a/doc/doxygen/inside.doc b/doc/doxygen/inside.doc index 27f55f41cc..de65fd6112 100644 --- a/doc/doxygen/inside.doc +++ b/doc/doxygen/inside.doc @@ -99,11 +99,11 @@ these files are accessible both from the srcdir and from the bindir. If you edit a source file found under bindir, the srcdir version (visible to git) will also be changed (that's the same file, after all). -If you accidentally call `make` from the srcdir, it will mess up your -out of tree builds. To fix it, remove \c srcdir/CMakeCache.txt. -To prevent make to even create this file, create a srcdir/CMakeFiles -directory, and change its mode to 0 (`chmod 0 CMakeFiles`). That way, -if you type `make` by mistake from srcdir, it will fail before causing -any harm. +If you convert from a regular build to an out-of-tree build, you need +to clean your source tree by removing the following files: + +@verbatim +rm Makefile CMakeCache.txt CMakeFiles.txt include/simgrid_config.h src/internal_config.h +@endverbatim */