diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-20 11:09:20 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-20 11:37:52 +0100 |
commit | 342f127362108bfb0fb954c9150b5a937ecfef30 (patch) | |
tree | e9bac54677a63168997608684adca3546223f7bd /platform/android | |
parent | bd61281a5f515065b05be008dd3d6b73a03f5a7c (diff) |
SCons: Explicitly define our C (C11) and C++ (C++14) standards
On GCC and Clang, we use C11 and C++14 with GNU extensions (`std=gnu11`
and `std=gnu++14`). Those are the defaults for current GCC and Clang,
and also match the feature sets we want to use in Godot.
On MSVC, we require C++14 support explicitly with `/std:c++14`, and
make it strict with the use of `/permissive-` (so features of C++17 or
later can't be used).
Moves the definition before querying environment flags and platform
config so that it can be overridden when necessary.
Diffstat (limited to 'platform/android')
0 files changed, 0 insertions, 0 deletions