Skip to content

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
Copy link
Owner

@maiself maiself left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor things, can merge immediately after fixed.

@Ivorforce Ivorforce force-pushed the compile-commands branch 2 times, most recently from 39d49ab to 82a2be1 Compare February 16, 2025 14:28
@Ivorforce Ivorforce requested a review from maiself February 16, 2025 14:31
@maiself maiself merged commit 129b494 into maiself:master Feb 16, 2025
5 checks passed
@Ivorforce Ivorforce deleted the compile-commands branch February 16, 2025 15:48
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