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.
compile_commands.json can be used for IDE support, for example CLion, like:
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.