SCsub 486 B

123456789101112131415161718192021
  1. #!/usr/bin/env python
  2. from misc.utility.scons_hints import *
  3. Import("env")
  4. import default_theme_icons_builders
  5. env["BUILDERS"]["MakeDefaultThemeIconsBuilder"] = Builder(
  6. action=env.Run(default_theme_icons_builders.make_default_theme_icons_action),
  7. suffix=".h",
  8. src_suffix=".svg",
  9. )
  10. # Default theme icons
  11. icon_sources = Glob("*.svg")
  12. env.Alias(
  13. "default_theme_icons",
  14. [env.MakeDefaultThemeIconsBuilder("#scene/theme/default_theme_icons.gen.h", icon_sources)],
  15. )