Generate built-in documentation header in GDExtension

This commit is contained in:
Serhii Snitsaruk 2024-06-30 15:40:18 +02:00
parent 2f62b53b6a
commit ae3b4ebb94
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
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/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":
library = env.SharedLibrary(