summaryrefslogtreecommitdiff
path: root/drivers/spirv-reflect/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spirv-reflect/SCsub')
-rw-r--r--drivers/spirv-reflect/SCsub16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/spirv-reflect/SCsub b/drivers/spirv-reflect/SCsub
new file mode 100644
index 0000000000..f6b40ac433
--- /dev/null
+++ b/drivers/spirv-reflect/SCsub
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+Import('env')
+
+env_spirv_reflect = env.Clone()
+
+thirdparty_dir = "#thirdparty/spirv-reflect/"
+thirdparty_sources = [
+ "spirv_reflect.c"
+]
+
+thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
+
+env_spirv_reflect.add_source_files(env.drivers_sources, thirdparty_sources)
+
+Export('env')