Merge pull request #3535 from skyace65/CompilingClarification

Improve Windows compiling instructions
This commit is contained in:
Max Hilbrunner
2020-05-16 14:45:34 +02:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ For compiling under Windows, the following is required:
MinGW does not officially release GCC 9 yet, you can get an alternate installer from
`here <https://jmeubank.github.io/tdm-gcc/articles/2020-03/9.2.0-release>`_.
- `Python 3.5+ <https://www.python.org/downloads/windows/>`_.
- `SCons 3.0 <https://www.scons.org>`_ build system. If using Visual Studio 2019,
- `SCons 3.0 <https://www.scons.org/>`_ build system. If using Visual Studio 2019,
you need at least SCons 3.1.1.
- *Optional* - `yasm <https://yasm.tortall.net/>`_ (for WebM SIMD optimizations)
@@ -43,12 +43,19 @@ For compiling under Windows, the following is required:
.. seealso:: For a general overview of SCons usage for Godot, see
:ref:`doc_introduction_to_the_buildsystem`.
Setting up Python
-----------------
First you need to install Python 3.5 or newer. Make sure to enable the option
to add Python to the ``PATH`` in the Python installer. The SCons installer
should then detect and use the existing Python installation.
Setting up SCons
----------------
First, make sure to enable the option to add Python to the ``PATH`` in
the Python installer. The SCons installer should then detect and use
the existing Python installation.
To install SCons open the command prompt and run the following command.
``python -m pip install scons``
To check whether you have installed Python and SCons correctly, you can
type ``python --version`` and ``scons --version`` into a command prompt