Skip to content

Add the building script for compile db#180

Merged
hyv1001 merged 3 commits intoBoomingTech:mainfrom
huandzh:buid_compile_db
May 16, 2022
Merged

Add the building script for compile db#180
hyv1001 merged 3 commits intoBoomingTech:mainfrom
huandzh:buid_compile_db

Conversation

@huandzh
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

hyv1001 commented May 16, 2022

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

Comment thread README.md Outdated
@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