Merge pull request #151 from limbonaut/gdext-gen-doc-header

Generate built-in documentation header in GDExtension variant
This commit is contained in:
Serhii Snitsaruk 2024-06-30 15:56:49 +02:00 committed by GitHub
commit d98be526b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ sources += Glob("limboai/editor/*.cpp")
sources += Glob("limboai/hsm/*.cpp") sources += Glob("limboai/hsm/*.cpp")
sources += Glob("limboai/util/*.cpp") sources += Glob("limboai/util/*.cpp")
# Generate documentation header.
if env["target"] in ["editor", "template_debug"]:
doc_data = env.GodotCPPDocData("limboai/gen/doc_data.gen.cpp", source=Glob("limboai/doc_classes/*.xml"))
sources.append(doc_data)
if env["platform"] == "macos": if env["platform"] == "macos":
library = env.SharedLibrary( library = env.SharedLibrary(