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

Enable compile_commands.json generation #70

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

gavv
Copy link
Member

@gavv gavv commented Apr 3, 2023

  • enable CMAKE_EXPORT_COMPILE_COMMANDS; it instructs CMake to generate compile_commands.json file, used by many editors for code navigation, auto complete, etc
  • instruct cmake to copy compile_commands.json to jni project root; most editors look for that file there
  • add compile_commands.json to .gitignore
  • add .cache to .gitiginore (LSP cache; LSP can be used with emacs, vim, vscode, etc)

@gavv gavv requested a review from ortex April 3, 2023 09:09
@ortex ortex merged commit 75422d3 into roc-streaming:main Apr 3, 2023
@gavv gavv deleted the cc branch April 3, 2023 10:44
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