-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Version 6.3.0 | ||
============= | ||
|
||
Generate compilation database with Bazel! | ||
----------------------------------------- | ||
There is a new option available for everyone using Bazel on Linux and OSX. | ||
It is still experimental, but seems to be working. | ||
|
||
If you have a Bazel project, open any file in it and call the command: | ||
"ECC: (Bazel) Generate compile_commands.json" | ||
|
||
This will use https://github.com/grailbio/bazel-compilation-database | ||
It generates a compilation database and if it fails it shows the error | ||
in an output panel. The approximate sequence of actions is as follows: | ||
|
||
- Search for a folder with a WORKSPACE file up the tree. | ||
- Run a script "generate.sh" from the repo in that folder. | ||
- If the command fails, show the output. | ||
|
||
👏🧼 Stay safe! | ||
--------------- | ||
Hope everyone is staying safe in these weird times! This is a good time to | ||
stay at home and delve into that side-project you've been postponing for ages! |