8a10bb7d0d
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
40 lines
831 B
Python
40 lines
831 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
|
|
env.drivers_sources = []
|
|
|
|
# OS drivers
|
|
SConscript("unix/SCsub")
|
|
SConscript("windows/SCsub")
|
|
|
|
# Sounds drivers
|
|
SConscript("alsa/SCsub")
|
|
SConscript("coreaudio/SCsub")
|
|
SConscript("pulseaudio/SCsub")
|
|
if env["platform"] == "windows":
|
|
SConscript("wasapi/SCsub")
|
|
if env["xaudio2"]:
|
|
SConscript("xaudio2/SCsub")
|
|
|
|
# Midi drivers
|
|
SConscript("alsamidi/SCsub")
|
|
SConscript("coremidi/SCsub")
|
|
SConscript("winmidi/SCsub")
|
|
|
|
# Graphics drivers
|
|
if env["vulkan"]:
|
|
SConscript("vulkan/SCsub")
|
|
SConscript("gles3/SCsub")
|
|
SConscript("gl_context/SCsub")
|
|
else:
|
|
SConscript("dummy/SCsub")
|
|
|
|
# Core dependencies
|
|
SConscript("png/SCsub")
|
|
SConscript("spirv-reflect/SCsub")
|
|
|
|
env.add_source_files(env.drivers_sources, "*.cpp")
|
|
|
|
lib = env.add_library("drivers", env.drivers_sources)
|
|
env.Prepend(LIBS=[lib])
|