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