mirror of https://github.com/ceph/ceph
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 <abhishek@suse.com>
This commit is contained in:
parent
9b99018b99
commit
d6175381b4
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue