summaryrefslogtreecommitdiffstats
path: root/editor/themes/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'editor/themes/SCsub')
-rw-r--r--editor/themes/SCsub22
1 files changed, 22 insertions, 0 deletions
diff --git a/editor/themes/SCsub b/editor/themes/SCsub
new file mode 100644
index 0000000000..41b20f8a78
--- /dev/null
+++ b/editor/themes/SCsub
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+Import("env")
+
+import glob
+import editor_theme_builders
+
+
+# Fonts
+flist = glob.glob(env.Dir("#thirdparty").abspath + "/fonts/*.ttf")
+flist.extend(glob.glob(env.Dir("#thirdparty").abspath + "/fonts/*.otf"))
+flist.extend(glob.glob(env.Dir("#thirdparty").abspath + "/fonts/*.woff"))
+flist.extend(glob.glob(env.Dir("#thirdparty").abspath + "/fonts/*.woff2"))
+flist.sort()
+env.Depends("#editor/themes/builtin_fonts.gen.h", flist)
+env.CommandNoCache(
+ "#editor/themes/builtin_fonts.gen.h",
+ flist,
+ env.Run(editor_theme_builders.make_fonts_header, "Generating builtin fonts header."),
+)
+
+env.add_source_files(env.editor_sources, "*.cpp")