summaryrefslogtreecommitdiffstats
path: root/tools/web.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1601 from Ivorforce/ltoDavid Snopek2024-11-121-0/+4
|\ | | | | Add lto scons option
| * Add lto scons option, defaulting to "none".Lukas Tenbrink2024-11-121-0/+4
| |
* | [SCons] Enable WASM_BIGINT in web buildsFabio Alessandrelli2024-09-231-0/+4
|/ | | | | | Required since Godot 4.3, which is also the first Godot version with wide WASM gdnative support (previous versions were Chrome-only, and very brittle).
* [Web/SCons] Use CCFLAGS for SIDE_MODULE optionFabio Alessandrelli2024-08-241-1/+1
| | | | | | | | | Was using CPPFLAGS, but should use the explicit scons CCFLAGS which makes it clear they are applied to both the C and C++ compiler. CPPFLAGS was also fine (they are preprocessor flags, also applied to both C and C++), but we should try to stay consistent with what we do in Godot.
* Integrate `.pre-commit-config.yaml`Thaddeus Crews2024-06-241-1/+0
|
* [Web] Force emcc to use "wasm" longjmp modeFabio Alessandrelli2024-06-141-4/+8
| | | | | | | | | | SUPPORT_LONGJMP have changed since emscripten 3.1.32 to default to "wasm" mode when exceptions are enabled, and "emscripten" mode when disabled. While we generally doesn't use exception in core, linked libraries may need them, and emscripten don't plan to support WASM EH + Emscripten SjLj in the long term.
* [SCons] Add option to build without threadsFabio Alessandrelli2024-04-301-2/+3
| | | | | This is relevant for the Web platform, where builds with and without threads are incompatible.
* [SCons] Split `targets.py`, apply flags from toolsFabio Alessandrelli2024-02-161-0/+3
| | | | | | | | | Split `targets` tool logic, moving all the compiler-specific flags to a new `common_compiler_flags.py` file, and everything else (CPPDEFINES, optimize option logic, dev build logic, etc) to the `godotcpp` tool. The default tools now apply the common compiler flags by importing the file and explicitly calling `configure`.
* [SCons] Rename javascript tool to webFabio Alessandrelli2023-10-151-0/+44
And clean it up a bit.