Setup clangd
This commit is contained in:
parent
3066bdacc9
commit
ea634491de
4 changed files with 22 additions and 323500 deletions
|
|
@ -19,6 +19,12 @@ sources = Glob("src/*.cpp")
|
|||
# Generated with local Godot installation
|
||||
env["custom_api_file"] = "extension_api.json"
|
||||
|
||||
# Information for Clang tooling, including clangd language server
|
||||
# To create the compile_database
|
||||
env.Tool('compilation_db')
|
||||
cdb = env.CompilationDatabase('compile_commands.json')
|
||||
Alias('compile_commands', cdb)
|
||||
|
||||
if env["platform"] == "macos":
|
||||
library = env.SharedLibrary(
|
||||
"project/bin/libmarshconnector.{}.{}.framework/libmarshconnector.{}.{}".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue