@@ -218,18 +218,18 @@ optional PIX and Agility SDK components).
218218 ./update_mesa.sh
219219 scons
220220
221- If you are building with MinGW-w64, add ``use_mingw=yes`` to the ``scons``
222- command, you can also specify build architecture using ``arch={architecture}``.
223- If you are building with MinGW-LLVM, add both ``use_mingw=yes`` and
224- ``use_llvm=yes`` to the ``scons`` command.
221+ If you are building with MinGW-w64, add ``use_mingw=yes `` to the ``scons ``
222+ command, you can also specify build architecture using ``arch={architecture} ``.
223+ If you are building with MinGW-LLVM, add both ``use_mingw=yes `` and
224+ ``use_llvm=yes `` to the ``scons `` command.
225225
226- If you are building with MinGW and the binaries are not located in
227- the ``PATH``, add ``mingw_prefix="/path/to/mingw"`` to the ``scons``
228- command.
226+ If you are building with MinGW and the binaries are not located in
227+ the ``PATH ``, add ``mingw_prefix="/path/to/mingw" `` to the ``scons ``
228+ command.
229229
230- Mesa static library should be built using the same compiler and the
231- same CRT (if you are building with MinGW) you are using for building
232- Godot.
230+ Mesa static library should be built using the same compiler and the
231+ same CRT (if you are building with MinGW) you are using for building
232+ Godot.
233233
234234Optionally, you can compile with the following for additional features:
235235
@@ -282,6 +282,46 @@ Or, with all options enabled:
282282 multi-arch. DLLs will be copied to the appropriate ``bin/<arch>/ ``
283283 subdirectories and at runtime the right one will be loaded.
284284
285+ Compiling with AccessKit support
286+ --------------------------------
287+
288+ AccessKit provides support for screen readers.
289+
290+ By default, Godot is built with dynamically linked AccessKit, you can use it by placing
291+ ``accesskit.dll `` alongside the executable.
292+
293+ .. note :: You can use dynamically linked AccessKit with export templates as well, rename
294+ aforementioned DLL to ``accesskit.{architecture}.dll ``
295+ and place them alongside export template executables, and libraries will
296+ be automatically copied during the export process.
297+
298+ To compile Godot with statically linked AccessKit:
299+
300+ - Download pre-built static libraries from `godot-accesskit-c-static library <https://github.com/godotengine/godot-accesskit-c-static/releases >`_, and unzip them.
301+ - When building Godot, add ``accesskit_sdk_path={path} `` to tell SCons where to look for the AccessKit libraries:
302+
303+ ::
304+
305+ scons platform=windows accesskit_sdk_path=<...>
306+
307+ .. note :: You can optionally build the godot-angle-static libraries yourself with
308+ the following steps:
309+
310+ 1. Clone the `godot-accesskit-c-static <https://github.com/godotengine/godot-accesskit-c-static/ >`_
311+ directory and navigate to it.
312+ 2. Run the following command:
313+
314+ ::
315+
316+ cd accesskit-c
317+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
318+ cmake --build build
319+ cmake --install build
320+
321+ AccessKit static library should be built using the same compiler and the
322+ same CRT (if you are building with MinGW) you are using for building
323+ Godot.
324+
285325Compiling with ANGLE support
286326----------------------------
287327
@@ -319,18 +359,18 @@ To compile Godot with statically linked ANGLE:
319359 ./update_angle.sh
320360 scons
321361
322- If you are buildng with MinGW, add ``use_mingw=yes`` to the command,
323- you can also specify build architecture using ``arch={architecture}``.
324- If you are building with MinGW-LLVM, add both ``use_mingw=yes`` and
325- ``use_llvm=yes`` to the ``scons`` command.
362+ If you are buildng with MinGW, add ``use_mingw=yes `` to the command,
363+ you can also specify build architecture using ``arch={architecture} ``.
364+ If you are building with MinGW-LLVM, add both ``use_mingw=yes `` and
365+ ``use_llvm=yes `` to the ``scons `` command.
326366
327- If you are building with MinGW and the binaries are not located in
328- the ``PATH``, add ``mingw_prefix="/path/to/mingw"`` to the ``scons``
329- command.
367+ If you are building with MinGW and the binaries are not located in
368+ the ``PATH ``, add ``mingw_prefix="/path/to/mingw" `` to the ``scons ``
369+ command.
330370
331- ANGLE static library should be built using the same compiler and the
332- same CRT (if you are building with MinGW) you are using for building
333- Godot.
371+ ANGLE static library should be built using the same compiler and the
372+ same CRT (if you are building with MinGW) you are using for building
373+ Godot.
334374
335375Development in Visual Studio
336376----------------------------
0 commit comments