Skip to content

Commit 8450671

Browse files
committed
Update supported_plugins.rst
1 parent dc6d20f commit 8450671

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/source/user_api/supported_plugins.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,19 @@ Supported Plugins
33

44
clang_compile_commands.h
55
------------------------
6+
7+
.. doxygenclass:: buildcc::plugin::ClangCompileCommands
8+
9+
Example
10+
--------
11+
12+
.. code-block:: cpp
13+
:linenos:
14+
15+
using namespace buildcc;
16+
17+
Target foolib;
18+
Target hello_world;
19+
20+
// Foolib and Hello world targets are both added to a single "compile_commands.json" file
21+
plugin::ClangCompileCommands({&foolib, &hello_world}).Generate();

0 commit comments

Comments
 (0)