Skip to content

Misleading statement/mistake in the documentation with regards compliation_database #75

@jj-tetraquark

Description

@jj-tetraquark

In the README it states that in your .clang file you want to point to a project specific compilation database you need to specify it like so:

compilation_database = "<path to compilation_database>"

Actually you need to specify to the directory that contains it, rather than to the database itself.
i.e. if the file sits at catkin_ws/build/compile_commands.json your .clang file should say

compliation_database = "catkin_ws/build/"

at the moment it implies you need to put

compilation_database = "catkin_ws/build/compile_commands.json"

It's worth fixing this because I was stuck for hours trying to figure out what the problem was!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions