doc: remove space between argument and build folder
When using `zephyr-app-command` the CMake arguments and values are not having spaces between them, except the `-B build`. Remove the space, so that `-B build` becomes `-Bbuild` and thus looks similar to other `-<arg><value>` occurences. Example before this commit: > Use cmake to configure a Ninja-based buildsystem: > cmake -B build -GNinja -DBOARD=reel_board samples/hello_world > > Now run ninja on the generated build system: > ninja -C build With this commit: > Use cmake to configure a Ninja-based buildsystem: > cmake -Bbuild -GNinja -DBOARD=reel_board samples/hello_world > > Now run ninja on the generated build system: > ninja -Cbuild Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
ad63b2b41c
commit
5a82b537b3
1 changed files with 2 additions and 2 deletions
|
@ -378,8 +378,8 @@ class ZephyrAppCommandsDirective(Directive):
|
|||
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 ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue