summaryrefslogtreecommitdiff
path: root/drivers/spirv-reflect
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spirv-reflect')
-rw-r--r--drivers/spirv-reflect/SCsub17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/spirv-reflect/SCsub b/drivers/spirv-reflect/SCsub
new file mode 100644
index 0000000000..d0ffaf068d
--- /dev/null
+++ b/drivers/spirv-reflect/SCsub
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+
+Import("env")
+
+env_spirv_reflect = env.Clone()
+env_spirv_reflect.disable_warnings()
+
+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")