2019-07-28 16:42:15 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 06:28:32 +00:00
|
|
|
Import("env")
|
2019-07-28 16:42:15 +00:00
|
|
|
|
|
|
|
env_spirv_reflect = env.Clone()
|
2020-02-13 14:53:32 +00:00
|
|
|
env_spirv_reflect.disable_warnings()
|
2019-07-28 16:42:15 +00:00
|
|
|
|
|
|
|
thirdparty_dir = "#thirdparty/spirv-reflect/"
|
|
|
|
thirdparty_sources = [
|
2020-03-30 06:28:32 +00:00
|
|
|
"spirv_reflect.c",
|
2019-07-28 16:42:15 +00:00
|
|
|
]
|
2020-02-13 14:53:32 +00:00
|
|
|
|
2019-07-28 16:42:15 +00: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 06:28:32 +00:00
|
|
|
Export("env")
|