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

Add the building script for compile db #180

Merged
merged 3 commits into from
May 16, 2022

Conversation

huandzh
Copy link
Contributor

@huandzh huandzh commented May 16, 2022

This PR is helpful for developers using Emacs as code editor.

When using lsp-mode with clangd language server, compile_commands.json is required to find the includes properly. (per https://emacs-lsp.github.io/lsp-mode/tutorials/CPP-guide/)

  • Added a .bat script builds and copys compile_commands.json
  • Updated doc accordingly

screenshot:
image

@hyv1001
Copy link
Collaborator

hyv1001 commented May 16, 2022

  • Suggest changing the script name to generate_compile_db.bat and moving it to the scripts directory.

@hyv1001 hyv1001 merged commit a7b99dd into BoomingTech:main May 16, 2022
KaygNas pushed a commit to KaygNas/Piccolo that referenced this pull request Feb 10, 2023
* Add the building script for compile db

* Fix line wrapping

* Rename clangd helper script to generate_compile_db.bat
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