summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-05-29 22:22:08 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-05-29 22:22:08 (GMT)
commitef7265e6b2bc4f005a48fcc5c8f9e724f08d0ed6 (patch)
treedd81d54b0ed5e64df74412d1f62fba796870bbfd
parent897e738e626f528618ff3c2f97e67767d2644fdf (diff)
downloadSCons-ef7265e6b2bc4f005a48fcc5c8f9e724f08d0ed6.zip
SCons-ef7265e6b2bc4f005a48fcc5c8f9e724f08d0ed6.tar.gz
SCons-ef7265e6b2bc4f005a48fcc5c8f9e724f08d0ed6.tar.bz2
[ci skip] a little formatting change
-rw-r--r--doc/user/misc.xml57
1 files 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',
</section>
- <section>
- <title>Creating LLVM Compilation Database</title>
-
- <para>
-
- 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.
- </para>
- <para>
- See <ulink url="https://clang.llvm.org/docs/JSONCompilationDatabase.html"><citetitle>JSON Compilation Database Format Specification¶</citetitle></ulink> for complete information
- </para>
-
- <para>
-
- 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.
- </para>
- <para>This is controlled by <envar>COMPILATIONDB_USE_ABSPATH=(True|False)</envar></para>
-
- <para>Example of absolute paths for target and source</para>
- <programlisting language="json">
+ <section>
+ <title>Creating LLVM Compilation Database</title>
+
+ <para>
+
+ 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.
+ </para>
+ <para>
+ See
+ <ulink url="https://clang.llvm.org/docs/JSONCompilationDatabase.html">
+ <citetitle>JSON Compilation Database Format Specification¶</citetitle>
+ </ulink>
+ for complete information
+ </para>
+
+ <para>
+
+ 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.
+ </para>
+ <para>This is controlled by
+ <envar>COMPILATIONDB_USE_ABSPATH=(True|False)</envar>
+ </para>
+
+ <para>Example of absolute paths for target and source</para>
+ <programlisting language="json">
[
{
"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"
}
]
- </programlisting>
- <para>Example of relative paths for target and source</para>
+ </programlisting>
+ <para>Example of relative paths for target and source</para>
- <programlisting language="json">
+ <programlisting language="json">
[
{
"command": "gcc -o test_main.o -c test_main.c",
@@ -714,7 +723,7 @@ env.Command('directory_build_info',
"target": "test_main.o"
}
]
- </programlisting>
+ </programlisting>
- </section>
+ </section>
</chapter>