forked from hertog/godot-module-template
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			447 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			447 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| Import("env")
 | |
| 
 | |
| import default_theme_icons_builders
 | |
| 
 | |
| env["BUILDERS"]["MakeDefaultThemeIconsBuilder"] = Builder(
 | |
|     action=env.Run(default_theme_icons_builders.make_default_theme_icons_action),
 | |
|     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)],
 | |
| )
 | 
