From 4eb1b56b8e0e2451a563c75946a600d875d50e5a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 23 Oct 2024 12:02:09 +0200 Subject: Minor tweak to compiledb documentation --- doc/manual.cli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/manual.cli') diff --git a/doc/manual.cli b/doc/manual.cli index 1e489e9..e16b0fa 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -8173,8 +8173,10 @@ accommodate these assumptions we can instead place each database into the project's source directory and call it \c{compile_commands.json}: \ +$ cd libhello $ bdep init @gcc config.cc.compiledb=libhello@./compile_commands.json +$ cd hello $ bdep init @gcc config.cc.compiledb=hello@./compile_commands.json \ @@ -8199,8 +8201,10 @@ config.cc.compiledb=@...//compile_commands.json This shortcut allows us to simplify the above \c{init} commands to read: \ +$ cd libhello $ bdep init @gcc config.cc.compiledb=./ +$ cd hello $ bdep init @gcc config.cc.compiledb=./ \ -- cgit v1.1