Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
14 lines
414 B
Python
14 lines
414 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
|
|
if env["vulkan"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_vulkan.cpp")
|
|
|
|
if env["d3d12"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_d3d12.cpp")
|
|
|
|
if env["metal"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_metal.cpp")
|