Debian Codegraph @

platform/linuxbsd/x11/SCsub

raw symbols SCIP
1 #!/usr/bin/env python
2 from misc.utility.scons_hints import *
3
4 Import("env")
5
6 File = env.File
7
8 source_files = [
9 File("display_server_x11.cpp"),
10 File("key_mapping_x11.cpp"),
11 ]
12
13 if env["use_sowrap"]:
14 source_files.append(
15 [
16 File("dynwrappers/xlib-so_wrap.c"),
17 File("dynwrappers/xcursor-so_wrap.c"),
18 File("dynwrappers/xinerama-so_wrap.c"),
19 File("dynwrappers/xinput2-so_wrap.c"),
20 File("dynwrappers/xrandr-so_wrap.c"),
21 File("dynwrappers/xrender-so_wrap.c"),
22 File("dynwrappers/xext-so_wrap.c"),
23 ]
24 )
25
26 if env["vulkan"]:
27 source_files.append(File("rendering_context_driver_vulkan_x11.cpp"))
28
29 if env["opengl3"]:
30 env.Append(CPPDEFINES=["GLAD_GLX_NO_X11"])
31 source_files.append(
32 [
33 File("gl_manager_x11_egl.cpp"),
34 File("gl_manager_x11.cpp"),
35 File("detect_prime_x11.cpp"),
36 File("#thirdparty/glad/glx.c"),
37 ]
38 )
39
40 Return("source_files")