summaryrefslogtreecommitdiff
path: root/editor/icons/SCsub
blob: 109e1aa83bbbc0d8c58ee6c7308f73af7d9f3583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python

Import('env')

from platform_methods import run_in_subprocess
import editor_icons_builders

make_editor_icons_builder = Builder(action=run_in_subprocess(editor_icons_builders.make_editor_icons_action),
                                    suffix='.h',
                                    src_suffix='.svg')

env['BUILDERS']['MakeEditorIconsBuilder'] = make_editor_icons_builder
env.Alias('editor_icons', [env.MakeEditorIconsBuilder('#editor/editor_icons.gen.h', Glob("*.svg"))])