Skip to content
Permalink
Browse files

doc: add space after cmake -Bdir and ninja -Cdir options

Let's be consistent with official cmake, ninja and make documentations.

https://cmake.org/cmake/help/latest/manual/cmake.1.html
cmake --help
man cmake

https://ninja-build.org/manual.html#_running_ninja
ninja --help

https://www.gnu.org/software/make/manual/make.html#Options-Summary
info make 'Options Summary'
etc.

Related to issue #15315

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information...
marc-hb authored and nashif committed Jul 6, 2019
1 parent cd4c268 commit eee564fbfb4773b7ee774f6558b7fdc4c0fe46fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/extensions/zephyr/application.py
@@ -366,8 +366,8 @@ def _generate_cmake(self, **kwargs):
tool_build_dir = ''
else:
source_dir = ' {}'.format(app) if app else ' .'
cmake_build_dir = ' -B{}'.format(build_dir)
tool_build_dir = ' -C{}'.format(build_dir)
cmake_build_dir = ' -B {}'.format(build_dir)
tool_build_dir = ' -C {}'.format(build_dir)

# Now generate the actual cmake and make/ninja commands
gen_arg = ' -GNinja' if generator == 'ninja' else ''

0 comments on commit eee564f

Please sign in to comment.
You can’t perform that action at this time.