Skip to content

compile-commands.json generator doesn't reflect PWD for "directory" attribute #1371

@alicetrifu

Description

@alicetrifu

When generating compile-commands.json the "directory" attribute is always set to the root of the project which does not always reflect the working directory used during build. This means that relative file paths used in options (e.g. include paths), do not resolve in that particular cases.

Should confirm the behaviour of the working directory for managed make builds and ensure we're setting the attribute appropriately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions