Skip to content

Commit

Permalink
Generate built-in documentation header in GDExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
limbonaut committed Jun 30, 2024
1 parent 2f62b53 commit ae3b4eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gdextension/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ae3b4eb

Please sign in to comment.