2021-10-11 11:30:59 +02:00
|
|
|
#!/usr/bin/env python
|
2024-06-11 22:19:07 +02:00
|
|
|
from misc.utility.scons_hints import *
|
2021-10-11 11:30:59 +02:00
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
|
|
|
import editor.template_builders as build_template_gd
|
|
|
|
|
|
|
|
env["BUILDERS"]["MakeGDTemplateBuilder"] = Builder(
|
2023-11-20 21:31:56 +01:00
|
|
|
action=env.Run(build_template_gd.make_templates),
|
2021-10-11 11:30:59 +02:00
|
|
|
suffix=".h",
|
|
|
|
src_suffix=".gd",
|
|
|
|
)
|
|
|
|
|
|
|
|
# Template files
|
|
|
|
templates_sources = Glob("*/*.gd")
|
|
|
|
|
|
|
|
env.Alias("editor_template_gd", [env.MakeGDTemplateBuilder("templates.gen.h", templates_sources)])
|