From 2c663372da907c032984e0f52ed50eeb14ddfda3 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Thu, 10 May 2012 07:49:46 +0200 Subject: [PATCH] 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. --- HACKING.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4