Skip to content

COMPILATIONDB_INCLUDE_TOOLCHAIN does not work #5158

@ZweiEuro

Description

@ZweiEuro

Hi!

COMPILATIONDB_INCLUDE_TOOLCHAIN does not work as advertised. I have a project and it just does not include the toolchain specific include folders in the generated compile_commands.json. When running the target to generate it.

https://github.com/ZweiEuro/stm32_adaptive

it compiles fine, but the compile_commands.json needed to make clangd nvim run are broken which makes them quasi unusable.

Sidenote: please consider merging #4937 so this isn't such a bother anymore

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions