Recommend adding Godot folder to AV exceptions in Compiling for Windows (#4736)

This commit is contained in:
Hugo Locurcio
2021-03-13 19:39:13 +01:00
parent 0c44238adf
commit 514b30c8c4

View File

@@ -88,6 +88,18 @@ Downloading it (cloning) using `Git <https://git-scm.com/>`_ is recommended.
The tutorial will assume from now on that you placed the source code in
``C:\godot``.
.. warning::
To prevent slowdowns caused by continuous virus scanning during compilation,
add the Godot source folder to the list of exceptions in your antivirus
software.
For Windows Defender, hit the :kbd:`Windows` key, type
"Windows Defender Settings" then hit :kbd:`Enter`.
Under **Virus & threat protection**, go to **Virus & threat protection setting**
and scroll down to **Exclusions**. Click **Add or remove exclusions** then
add the Godot source folder.
Compiling
---------
@@ -97,8 +109,8 @@ Selecting a compiler
SCons will automatically find and use an existing Visual Studio installation.
If you do not have Visual Studio installed, it will attempt to use
MinGW instead. If you already have Visual Studio installed and want to
use MinGW, pass ``use_mingw=yes`` to the SCons command line. Note that MSVC
builds cannot be performed from the MSYS2 or MinGW shells. Use either
use MinGW, pass ``use_mingw=yes`` to the SCons command line. Note that MSVC
builds cannot be performed from the MSYS2 or MinGW shells. Use either
``cmd.exe`` or PowerShell instead.
During development, using the Visual Studio compiler is usually a better idea,