An indentation of five spaces relative to the previous line creates a
command that is copyable with a single mouse click. This commit adds
those copyabale commands to the procedure in the section "Building
Ceph".
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
36c620b04f3a88562d75955b46cc1864de60ce70)
contains `do_cmake.sh` and `CONTRIBUTING.rst`.
2. Run the `do_cmake.sh` script:
- >``./do_cmake.sh``
+ ./do_cmake.sh
+
+ ``do_cmake.sh`` by default creates a "debug build" of Ceph, which can be
+ up to five times slower than a non-debug build. Pass
+ ``-DCMAKE_BUILD_TYPE=RelWithDebInfo`` to ``do_cmake.sh`` to create a
+ non-debug build.
3. Move into the `build` directory:
- >``cd build``
+ cd build
4. Use the `ninja` buildsystem to build the development environment:
>``ninja``
To build only certain targets, run a command of the following form:
- ninja [target name]
+ ninja [target name]
5. Install the vstart cluster:
- ninja install
+ ninja install
### CMake Options