Skip to content

Can we export compile_commands.json? #3355

@tan-wei

Description

@tan-wei

It is convenient for me to use cquery with compile_commands.json. It works quiet well for most of the c++ projects.

  • For CMake project, we can easily use CMAKE_EXPORT_COMPILE_COMMANDS option to export compile_commands.json
  • For Makefile project, compiledb can be used to generate a compile_commands.json

So can we export compile_commands.json when using SCons? Thank you very much!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions