0.2.0-dev Download ZIP
20 lines ·489 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | |
| 6 | import editor_theme_builders |
| 7 | |
| 8 | # Fonts |
| 9 | flist = Glob("#thirdparty/fonts/*.ttf") |
| 10 | flist.extend(Glob("#thirdparty/fonts/*.otf")) |
| 11 | flist.extend(Glob("#thirdparty/fonts/*.woff")) |
| 12 | flist.extend(Glob("#thirdparty/fonts/*.woff2")) |
| 13 | flist.sort() |
| 14 | env.CommandNoCache( |
| 15 | "#editor/themes/builtin_fonts.gen.h", |
| 16 | flist, |
| 17 | env.Run(editor_theme_builders.make_fonts_header), |
| 18 | ) |
| 19 | |
| 20 | env.add_source_files(env.editor_sources, "*.cpp") |