File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,19 @@ obtain a compilation database for the CPU:
54
54
.. code :: sh
55
55
56
56
$ mkdir build-cpu
57
- $ cmake ../
57
+ $ cmake -G Ninja ../
58
58
$ ls
59
59
60
60
CMakeCache.txt CMakeFiles Makefile cmake_install.cmake compile_commands.json
61
61
62
+ .. tip ::
63
+ Using the "Ninja" generator is not required, but is often faster and can
64
+ improve the quality of CBI's results. Other generators (such as "Unix
65
+ Makefiles") may use response (:code: `.rsp `) files to pass command-line
66
+ options, and any options passed this way will not be respected by CBI.
67
+ You may need to install Ninja on your system (e.g., with :code: `pip install
68
+ ninja ` or similar).
69
+
62
70
This :code: `compile_commands.json ` file includes all the commands required to
63
71
build the code, corresponding to the commands that would be executed if we were
64
72
to actually run :code: `make `.
You can’t perform that action at this time.
0 commit comments