From ef7265e6b2bc4f005a48fcc5c8f9e724f08d0ed6 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 29 May 2020 15:22:08 -0700 Subject: [ci skip] a little formatting change --- doc/user/misc.xml | 57 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/doc/user/misc.xml b/doc/user/misc.xml index f2531b6..e9b078d 100644 --- a/doc/user/misc.xml +++ b/doc/user/misc.xml @@ -675,25 +675,34 @@ env.Command('directory_build_info', -
- Creating LLVM Compilation Database - - - - LLVM has defined a JSON Compilation Database Format. This file is in common use as input into LLVM tools and many IDE's and editors as well. - - - See JSON Compilation Database Format Specification¶ for complete information - - - - - Currently SCons supports two variations. One is to output source and target files with paths relative to the top of the SCons build, or to output those files with their absolute path. - - This is controlled by COMPILATIONDB_USE_ABSPATH=(True|False) - - Example of absolute paths for target and source - +
+ Creating LLVM Compilation Database + + + + LLVM has defined a JSON Compilation Database Format. This file is in common use as input into LLVM tools + and many IDE's and editors as well. + + + See + + JSON Compilation Database Format Specification¶ + + for complete information + + + + + Currently SCons supports two variations. One is to output source and target files with paths relative to the + top + of the SCons build, or to output those files with their absolute path. + + This is controlled by + COMPILATIONDB_USE_ABSPATH=(True|False) + + + Example of absolute paths for target and source + [ { "command": "gcc -o test_main.o -c test_main.c", @@ -702,10 +711,10 @@ env.Command('directory_build_info', "target": "/home/user/sandbox/test_main.o" } ] - - Example of relative paths for target and source + + Example of relative paths for target and source - + [ { "command": "gcc -o test_main.o -c test_main.c", @@ -714,7 +723,7 @@ env.Command('directory_build_info', "target": "test_main.o" } ] - + -
+
-- cgit v0.12