2019-07-28 18:42:15 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
Import("env")
|
2019-07-28 18:42:15 +02:00
|
|
|
|
|
|
|
env_spirv_reflect = env.Clone()
|
2020-02-13 15:53:32 +01:00
|
|
|
env_spirv_reflect.disable_warnings()
|
2019-07-28 18:42:15 +02:00
|
|
|
|
|
|
|
thirdparty_dir = "#thirdparty/spirv-reflect/"
|
|
|
|
thirdparty_sources = [
|
2020-03-30 08:28:32 +02:00
|
|
|
"spirv_reflect.c",
|
2019-07-28 18:42:15 +02:00
|
|
|
]
|
2020-02-13 15:53:32 +01:00
|
|
|
|
2019-07-28 18:42:15 +02:00
|
|
|
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
|
|
|
|
|
|
|
env_spirv_reflect.add_source_files(env.drivers_sources, thirdparty_sources)
|
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
Export("env")
|