mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #8664 from bruvzg/win_cmds
Fix Windows build command highlighting.
(cherry picked from commit c52a73a348)
# Conflicts:
# contributing/development/compiling/compiling_for_windows.rst
This commit is contained in:
committed by
Max Hilbrunner
parent
6495da3369
commit
da7e547464
@@ -132,7 +132,9 @@ Running SCons
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
After opening a command prompt, change to the root directory of
|
||||
the engine source code (using ``cd``) and type::
|
||||
the engine source code (using ``cd``) and type:
|
||||
|
||||
.. code-block:: doscon
|
||||
|
||||
C:\godot> scons platform=windows
|
||||
|
||||
@@ -268,7 +270,9 @@ Creating Windows export templates
|
||||
---------------------------------
|
||||
|
||||
Windows export templates are created by compiling Godot without the editor,
|
||||
with the following flags::
|
||||
with the following flags:
|
||||
|
||||
.. code-block:: doscon
|
||||
|
||||
C:\godot> scons platform=windows target=template_debug arch=x86_32
|
||||
C:\godot> scons platform=windows target=template_release arch=x86_32
|
||||
@@ -277,7 +281,9 @@ with the following flags::
|
||||
|
||||
If you plan on replacing the standard export templates, copy these to the
|
||||
following location, replacing ``<version>`` with the version identifier
|
||||
(such as ``3.1.1.stable`` or ``3.2.dev``)::
|
||||
(such as ``3.1.1.stable`` or ``3.2.dev``):
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
%USERPROFILE%\AppData\Roaming\Godot\templates\<version>\
|
||||
|
||||
|
||||
@@ -93,7 +93,9 @@ generally with this naming convention::
|
||||
|
||||
godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]
|
||||
|
||||
For the previous build attempt, the result would look like this::
|
||||
For the previous build attempt, the result would look like this:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
ls bin
|
||||
bin/godot.linuxbsd.editor.x86_64
|
||||
@@ -103,7 +105,7 @@ whole editor compiled in, and is meant for 64 bits.
|
||||
|
||||
A Windows binary with the same configuration will look like this:
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: doscon
|
||||
|
||||
C:\godot> dir bin/
|
||||
godot.windows.editor.64.exe
|
||||
|
||||
Reference in New Issue
Block a user