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

Support for clangd #396

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Support for clangd #396

wants to merge 2 commits into from

Conversation

JRPan
Copy link
Collaborator

@JRPan JRPan commented Mar 10, 2025

A new flag in CMakefile to create compile_commands.json. And soft link it to the top level of Accel-Sim root.

Clangd needs this file to parse headers. Doesn't hurt to generate this file by default.

@JRPan JRPan requested review from William-An and tgrogers March 10, 2025 03:44
@William-An
Copy link
Contributor

I guess you need to change into ln -sf to force update the link.

@JRPan
Copy link
Collaborator Author

JRPan commented Mar 10, 2025

okay. Do you think it's a good idea to include cmake setup command cmake -B ./build in the setup_environment?

@William-An
Copy link
Contributor

It should be okay. Just need to setup the debug and release modes for CMake during the setup.

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

Successfully merging this pull request may close these issues.

2 participants