Merge pull request #151 from limbonaut/gdext-gen-doc-header
Generate built-in documentation header in GDExtension variant
This commit is contained in:
commit
d98be526b6
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue