Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jj-tetraquark opened this issue May 7, 2017 · 0 comments

Comments

@jj-tetraquark
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant