Skip to content

Do something with output field #135317

Open
Open
@SIGFUN

Description

@SIGFUN

clangd documents an output field for a command object in compile_commands.json, but it doesn't appear to do anything with it. I'd like to use this field (or something similar) for its intended purpose, which is to support different ways of compiling the same file (e.g. different architectures, compiler flags in different targets).

Note that this does not have to be scoped to a file -- I am happy to switch the entire project to a particular build configuration so clangd can keep distinct caches for each one.

Discussion on Discord here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions