Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tool to generate compile_commands.json #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

douzepouze
Copy link

Clang's compile command database is used by a multitude of tool to discover the parameters a certain file was compiled with. Tools that support compile_commands.json as an input include industry standard tools like Visual Studio Code and clang-tidy.

With the compiledb command available in the build container the compile_commands.json database can effortlessly be generated by just prepending compiledb infront of the make call for example

compiledb make app_name=custom_app target_board=pca10040

Clang's compile command database is used by a multitude of
tool to discover the parameters a certain file was compiled with.
Tools that support compile_commands.json as an input include
industry standard tools like Visual Studio Code and clang-tidy.

With the compiledb command available in the build container
the compile_commands.json database can effortlessly be generated
by just prepending "compiledb" infront of the make call for example
compiledb make app_name=custom_app target_board=pca10040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant