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 a way to create compile_commands.json, lifted from godot-cpp. #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ivorforce
Copy link
Contributor

@Ivorforce Ivorforce commented Oct 24, 2024

compile_commands.json can be used for IDE support, for example CLion, like:

scons compiledb=yes compile_commands.json

The logic and code in particular were lifted from godot-cpp.
Feel free to move the additions around in your SConstruct. I didn't feel comfortable with any spot in particular so I just placed them somewhere.

@maiself maiself added enhancement New feature or request build related to the build system labels Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build related to the build system enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants