0.2.0-dev Download ZIP
17 lines ·418 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | |
| 6 | import default_theme_icons_builders |
| 7 | |
| 8 | sources = Glob("*.svg") |
| 9 | if env["target"] in ["editor"]: |
| 10 | # These are only needed for remote debugging. |
| 11 | sources += Glob("debug_icons/*.svg") |
| 12 | |
| 13 | env.CommandNoCache( |
| 14 | "#scene/theme/default_theme_icons.gen.h", |
| 15 | sources, |
| 16 | env.Run(default_theme_icons_builders.make_default_theme_icons_action), |
| 17 | ) |