-
Notifications
You must be signed in to change notification settings - Fork 26
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
Generate compile_commands.json #76
Comments
Yes, the feature was implemented in #69 and that change is available as of
You might want to try the CMake option Assuming that using the latest released version will resolve your question I am going to close this ticket. |
I see. I would expect the I mean, it's not too hard on my end to just aggregate them into a single file, it would just be nice for colcon to do it for me in the first place. Do you think this is a feature worth having in |
Aplologies, I misunderstood your answer. The PR you linked is doing exactly that. |
Hi there,
Is there a way to generate a compile_commands.json file for the ROS workspace that colcon is used for? I've tried passing
--cmake-args=-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
but that seems to only generatecompile_commands
for very few of the packages in my workspace as well as lots of warnings like the following:I've also tried generating the compile_commands.json using Bear but that resulted in an empty compile_commands file.
Any pointers?
The text was updated successfully, but these errors were encountered: