2023-08-27 22:23:38 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
|
|
|
import default_theme_icons_builders
|
|
|
|
|
|
|
|
|
|
|
|
env["BUILDERS"]["MakeDefaultThemeIconsBuilder"] = Builder(
|
2023-11-20 20:31:56 +00:00
|
|
|
action=env.Run(default_theme_icons_builders.make_default_theme_icons_action),
|
2023-08-27 22:23:38 +00:00
|
|
|
suffix=".h",
|
|
|
|
src_suffix=".svg",
|
|
|
|
)
|
|
|
|
|
|
|
|
# Default theme icons
|
|
|
|
icon_sources = Glob("*.svg")
|
|
|
|
|
|
|
|
env.Alias(
|
|
|
|
"default_theme_icons",
|
|
|
|
[env.MakeDefaultThemeIconsBuilder("#scene/theme/default_theme_icons.gen.h", icon_sources)],
|
|
|
|
)
|