forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcustom_egl.py
222 lines (171 loc) · 5.36 KB
/
custom_egl.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
import os
from typing import Literal as _
# Build name
# os.environ.setdefault("BUILD_NAME", "dev")
# Target platform
platform:_["egl", "server", "x11"]
platform = "egl"
# Build the tools (a.k.a. the Godot editor)
tools:_[True, False]
tools = False
# Compilation target
target:_["debug", "release_debug", "release"]
target = "release_debug"
# Platform-dependent architecture
arch:_["arm", "arm64", "x86", "x64", "mips"]
# Target platform bits
bits:_["default", "32", "64"]
# Optimization type
optimize:_["speed", "size", "none"]
# Set defaults to build Godot for use in production
production:_[False, True]
# Add debugging symbols to release/release_debug builds
debug_symbols:_[True, False]
debug_symbols = True
# Create a separate file containing debugging symbols
separate_debug_symbols:_[False, True]
separate_debug_symbols = True
# Enable verbose output for the compilation
verbose:_[False, True]
verbose = False
# Use link-time optimization
use_lto:_[False, True]
use_lto = False
# Enable deprecated features
deprecated:_[True, False]
deprecated = True
# Enable GDScript support
gdscript:_[True, False]
# Enable ZIP archive support using minizip
minizip:_[True, False]
minizip = True
# Enable the XAudio2 audio driver
xaudio2:_[False, True]
xaudio2 = False
# Detect and use PulseAudio
pulseaudio:_[True, False]
pulseaudio = False
# Enable touch events
touch:_[True, False]
touch = False
# Use udev for gamepad connection callbacks
udev:_[True, False]
udev = False
# A list of comma-separated directory paths containing custom modules to build.
custom_modules: str
# Detect custom modules recursively for each specified path.
custom_modules_recursive:_[True, False]
# If yes, alias for verbose=yes warnings=extra werror=yes
dev:_[False, True]
# Show a progress indicator during compilation
progress:_[True, False]
# Level of compilation warnings
warnings:_["all", "extra", "moderate", "no"]
# Treat compiler warnings as errors
werror:_[False, True]
# Custom extra suffix added to the base filename of all generated binary files
extra_suffix: str
# Generate a Visual Studio solution
vsproj:_[False, True]
# Split intermediate libmodules.a in smaller chunks to prevent exceeding linker command line size
split_libmodules:_[False, True]
# Disable 3D nodes for a smaller executable
disable_3d:_[False, True]
# Disable advanced GUI nodes and behaviors
disable_advanced_gui:_[False, True]
disable_advanced_gui = False
# Don't use the custom splash screen for the editor
no_editor_splash:_[False, True]
no_editor_splash = True
# Use this path as SSL certificates default for editor (for package maintainers)
system_certs_path: str
# Math checks use very precise epsilon (debug option)
use_precise_math_checks:_[False, True]
# Use libexecinfo on systems where glibc is not available
execinfo:_[False, True]
# Use the LLVM compiler
use_llvm:_[False, True]
# Use the LLD linker
use_lld:_[False, True]
# Use ThinLTO
use_thinlto:_[False, True]
# Link libgcc and libstdc++ statically for better portability
use_static_cpp:_[True, False]
use_static_cpp = False
# Use LLVM/GCC compiler undefined behavior sanitizer (UBSAN)
use_ubsan:_[False, True]
# Use LLVM/GCC compiler address sanitizer (ASAN))
use_asan:_[False, True]
# Use LLVM/GCC compiler leak sanitizer (LSAN))
use_lsan:_[False, True]
# Use LLVM/GCC compiler thread sanitizer (TSAN))
use_tsan:_[False, True]
# Use LLVM/GCC compiler memory sanitizer (MSAN))
use_msan:_[False, True]
module_bullet_enabled = True
module_camera_enabled = True
module_csg_enabled = True
module_freetype_enabled = True
module_gdnative_enabled = True
module_gdscript_enabled = True
module_raycast_enabled = True
module_regex_enabled = True
module_mbedtls_enabled = True
module_svg_enabled = True
module_bmp_enabled = False
module_cvtt_enabled = False
module_dds_enabled = False
module_denoise_enabled = False
module_enet_enabled = False
module_etc_enabled = False
module_fbx_enabled = False
module_gridmap_enabled = False
module_hdr_enabled = False
module_jpg_enabled = False
module_jsonrpc_enabled = False
module_lightmapper_cpu_enabled = False
module_minimp3_enabled = False
module_mobile_vr_enabled = False
module_mono_enabled = False
module_ogg_enabled = False
module_opensimplex_enabled = False
module_opus_enabled = False
module_pvr_enabled = False
module_recast_enabled = False
module_squish_enabled = False
module_stb_vorbis_enabled = False
module_tga_enabled = False
module_theora_enabled = False
module_tinyexr_enabled = True
module_upnp_enabled = False
module_vhacd_enabled = False
module_visual_script_enabled = False
module_vorbis_enabled = False
module_webm_enabled = False
module_webp_enabled = False
module_webrtc_enabled = False
module_websocket_enabled = False
module_webxr_enabled = False
module_xatlas_unwrap_enabled = False
builtin_bullet:_[True, False]
builtin_certs:_[True, False]
builtin_embree:_[True, False]
builtin_enet:_[True, False]
builtin_freetype:_[True, False]
builtin_libogg:_[True, False]
builtin_libpng:_[True, False]
builtin_libtheora:_[True, False]
builtin_libvorbis:_[True, False]
builtin_libvpx:_[True, False]
builtin_libwebp:_[True, False]
builtin_wslay:_[True, False]
builtin_mbedtls:_[True, False]
builtin_miniupnpc:_[True, False]
builtin_opus:_[True, False]
builtin_pcre2:_[True, False]
builtin_pcre2_with_jit:_[True, False]
builtin_recast:_[True, False]
builtin_squish:_[True, False]
builtin_xatlas:_[True, False]
builtin_zlib:_[True, False]
builtin_zstd:_[True, False]