godot/platform
Rémi Verschelde 60959b085d
SCons: Add only selected platform's opts to env
Otherwise we can get situations where platform-specific opts with the same name
can override each other depending on the order at which platforms are parsed,
as was the case with `use_static_cpp` in Linux/Windows.

Fixes #44304.

This also has the added benefit that the `scons --help` output will now only
include the options which are relevant for the selected (or detected) platform.

(cherry picked from commit 0f84d8dc49)
2020-12-29 16:02:00 +01:00
..
android Don't handle BaseException in build scripts 2020-12-12 10:10:23 +00:00
iphone SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
javascript HTML5: Code style cleanup for export code 2020-12-10 17:57:13 +01:00
osx SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
server SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
uwp SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
windows SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
x11 SCons: Add only selected platform's opts to env 2020-12-29 16:02:00 +01:00
register_platform_apis.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00