From d6175381b472d208566627984280366f12ed67b1 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Wed, 10 Jan 2018 18:05:52 +0100 Subject: [PATCH] doc/README: mention about ARGS in do_cmake Add an example on how to use ARGS to override cmake builds Signed-off-by: Abhishek Lekshmanan --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ece373566bf..d2a5d97f79b 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,11 @@ Build instructions: This assumes you make your build dir a subdirectory of the ceph.git checkout. If you put it elsewhere, just replace `..` in do_cmake.sh with a -correct path to the checkout. +correct path to the checkout. Any additional CMake args can be specified +setting ARGS before invoking do_cmake. See [cmake options](#cmake-options) +for more details. Eg. + + ARGS="-DCMAKE_C_COMPILER=gcc-7" ./do_cmake.sh To build only certain targets use: