From: Antonio Ospite Date: Thu, 10 May 2012 05:49:46 +0000 (+0200) Subject: HACKING.asciidoc: fix cmake invocation examples X-Git-Tag: v0.1.3~37^2~11 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/2c663372da907c032984e0f52ed50eeb14ddfda3?ds=inline HACKING.asciidoc: fix cmake invocation examples Put the path to the source dir last, like the cmake manual says: cmake [options] Also put a space between the -D option and the configuration setting it modifies, this is more readable. --- diff --git a/HACKING.asciidoc b/HACKING.asciidoc index 99dc15e..26004ab 100644 --- a/HACKING.asciidoc +++ b/HACKING.asciidoc @@ -11,7 +11,7 @@ The suggested way to hack on the project is: $ mkdir build $ cd build - $ cmake ../ -DCMAKE_BUILD_TYPE=debug -DSTRICT_COMPILATION_CHECKS=ON + $ cmake -D CMAKE_BUILD_TYPE=debug -D STRICT_COMPILATION_CHECKS=ON ../ $ make If you want to check the code with the ''sparse'' static analysis tool you @@ -19,7 +19,7 @@ can run: $ mkdir build $ cd build - $ cmake ../ -DCMAKE_C_COMPILER=cgcc + $ cmake -D CMAKE_C_COMPILER=cgcc ../ $ make === Valgrind