summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/spirv-reflect/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'servers/rendering/renderer_rd/spirv-reflect/SCsub')
-rw-r--r--servers/rendering/renderer_rd/spirv-reflect/SCsub17
1 files changed, 17 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/spirv-reflect/SCsub b/servers/rendering/renderer_rd/spirv-reflect/SCsub
new file mode 100644
index 0000000000..4c27e5bef7
--- /dev/null
+++ b/servers/rendering/renderer_rd/spirv-reflect/SCsub
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+
+Import("env")
+
+# Thirdparty source files
+
+thirdparty_dir = "#thirdparty/spirv-reflect/"
+thirdparty_sources = [
+ "spirv_reflect.c",
+]
+
+thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
+
+env_thirdparty = env.Clone()
+env_thirdparty.disable_warnings()
+
+env_thirdparty.add_source_files(env.servers_sources, thirdparty_sources)