forked from taisei-project/taisei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
185 lines (159 loc) · 4.24 KB
/
meson_options.txt
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
option(
'version_fallback',
type : 'string',
description : 'Overrides the version string when not building in a git repository'
)
option(
'developer',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Make a "developer" build with cheats and extra debugging features'
)
option(
'enable_zip',
type : 'boolean',
value : 'true',
description : 'Enable loading of game data from ZIP packages (requires libzip)'
)
option(
'package_data',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Package the game’s assets into a compressed archive (requires enable_zip)'
)
option(
'install_relative',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Use only relative paths to the executable and install everything in the same directory. Always enabled for macOS bundles'
)
option(
'install_freedesktop',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Install freedesktop.org integration files (launchers, icons, replay file associations, etc.). Mostly relevant for Linux/BSD/etc. desktop systems'
)
option(
'install_angle',
type : 'boolean',
value : 'false',
description : 'Install pre-built ANGLE libraries. Only makes sense with a GLES backend. Currently only supported on Windows'
)
option(
'angle_libgles',
type : 'string',
description : 'Path to ANGLE\'s libGLESv2 dynamic library (see install_angle)'
)
option(
'angle_libegl',
type : 'string',
description : 'Path to ANGLE\'s libEGL dynamic library (see install_angle)'
)
option(
'win_console',
type : 'boolean',
value : false,
description : 'Use the console subsystem on Windows'
)
option(
'static',
type : 'boolean',
value : false,
description : 'Build statically linked executable'
)
option(
'intel_intrin',
type : 'boolean',
value : true,
description : 'Use some x86-specific intrinsics for optimizations where appropriate (if possible). Note that this is not equivalent to e.g. supplying -march in CFLAGS'
)
option(
'debug_opengl',
type : 'boolean',
value : true,
description : 'Enable OpenGL debugging. Create a debug context, enable logging, and crash the game on errors. Only available in debug builds'
)
option(
'macos_bundle',
type : 'boolean',
value : true,
description : 'Make a macOS application bundle on install (ignored on other platforms)'
)
option(
'docs',
type : 'boolean',
value : true,
description : 'Build and install documentation'
)
option(
'shader_transpiler',
type : 'boolean',
value : false,
description : 'Enable shader trans-compilation (requires shaderc)'
)
option(
'validate_glsl',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Enable validation of GLSL shaders (requires glslc)'
)
option(
'r_default',
type : 'combo',
choices : ['gl33', 'gles20', 'gles30', 'null'],
description : 'Which rendering backend to use by default'
)
option(
'r_gl33',
type : 'boolean',
value : true,
description : 'Build the OpenGL 3.3 Core renderer'
)
option(
'r_gles20',
type : 'boolean',
value : false,
description : 'Build the OpenGL ES 2.0 renderer (incomplete)'
)
option(
'r_gles30',
type : 'boolean',
value : false,
description : 'Build the OpenGL ES 3.0 renderer'
)
option(
'r_null',
type : 'boolean',
value : true,
description : 'Build the no-op renderer (nothing is displayed)'
)
option(
'a_default',
type : 'combo',
choices : ['sdl2mixer', 'null'],
description : 'Which audio backend to use by default'
)
option(
'a_sdl2mixer',
type : 'boolean',
value : true,
description : 'Build the SDL2_Mixer audio backend'
)
option(
'a_null',
type : 'boolean',
value : true,
description : 'Build the no-op audio backend (silence); you want this on!'
)
option(
'objpools',
type : 'boolean',
value : true,
description : 'Pre-allocate memory for game objects (disable for debugging only)'
)
option(
'use_libcrypto',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'Use libcrypto from OpenSSL for better SHA implementations'
)