blob: 974ad98fb93495b428ecbe844a8baf2c7f3c699f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env python
Import("env")
source_files = [
"display_server_x11.cpp",
"key_mapping_x11.cpp",
]
if env["vulkan"]:
source_files.append("vulkan_context_x11.cpp")
if env["opengl3"]:
source_files.append(["gl_manager_x11.cpp", "detect_prime_x11.cpp"])
objects = []
for source_file in source_files:
objects.append(env.Object(source_file))
Return("objects")
|