initial commit, 4.5 stable
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
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
This commit is contained in:
38
platform/linuxbsd/x11/SCsub
Normal file
38
platform/linuxbsd/x11/SCsub
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
Import("env")
|
||||
|
||||
source_files = [
|
||||
"display_server_x11.cpp",
|
||||
"key_mapping_x11.cpp",
|
||||
]
|
||||
|
||||
if env["use_sowrap"]:
|
||||
source_files.append(
|
||||
[
|
||||
"dynwrappers/xlib-so_wrap.c",
|
||||
"dynwrappers/xcursor-so_wrap.c",
|
||||
"dynwrappers/xinerama-so_wrap.c",
|
||||
"dynwrappers/xinput2-so_wrap.c",
|
||||
"dynwrappers/xrandr-so_wrap.c",
|
||||
"dynwrappers/xrender-so_wrap.c",
|
||||
"dynwrappers/xext-so_wrap.c",
|
||||
]
|
||||
)
|
||||
|
||||
if env["vulkan"]:
|
||||
source_files.append("rendering_context_driver_vulkan_x11.cpp")
|
||||
|
||||
if env["opengl3"]:
|
||||
env.Append(CPPDEFINES=["GLAD_GLX_NO_X11"])
|
||||
source_files.append(
|
||||
["gl_manager_x11_egl.cpp", "gl_manager_x11.cpp", "detect_prime_x11.cpp", "#thirdparty/glad/glx.c"]
|
||||
)
|
||||
|
||||
objects = []
|
||||
|
||||
for source_file in source_files:
|
||||
objects.append(env.Object(source_file))
|
||||
|
||||
Return("objects")
|
Reference in New Issue
Block a user