Skip to content

Conversation

@steffengoertz
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