Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SCons: Add unobtrusive type hints in SCons files | Thaddeus Crews | 2024-09-25 | 1 | -0/+1 |
| | |||||
* | [Core] Optionally delete `Ref` `nullptr` comparisons | A Thousand Ships | 2024-09-12 | 1 | -1/+10 |
| | | | | | | Adds an optional (default false) compile option to enable comparing `Ref` to `nullptr` to ensure correct use, as well as future expandsion for more general dev checks (enabled with `dev_mode`) | ||||
* | [Buildsystem] Improve cache handling | A Thousand Ships | 2024-09-09 | 1 | -1/+2 |
| | | | | | | Prevents cache issues by not purging cache before starting a build. Splits cache purge related code from progress code and delays the purge until after final build is done. | ||||
* | Build: make ninja output file consistent | Riteo | 2024-09-08 | 1 | -2/+2 |
| | | | | | | | | After upgrading, I noticed that the SCons ninja output had a different filename which messed up the "flaky file" logic. This patch explicitly passes it to the tool and switches to `build.ninja` (ninja's default). | ||||
* | SCons: Pass `/Zc:__cplusplus` in MSVC builds | Thaddeus Crews | 2024-09-05 | 1 | -0/+2 |
| | |||||
* | Add support for compiling with VS clang-cl toolset | Alula | 2024-08-28 | 1 | -5/+10 |
| | |||||
* | Merge pull request #87376 from shana/add-num-jobs-option | Rémi Verschelde | 2024-08-28 | 1 | -9/+20 |
|\ | | | | | | | SCons: Add `num_jobs` as an explicit option so it can be set from other sources | ||||
| * | Add num_jobs as an explicit option so it can be set from other sources | Andreia Gaita | 2024-07-19 | 1 | -9/+20 |
| | | | | | | | | | | | | | | | | | | | | | | The `-j` flag is only settable via the command line, which makes it hard to configure when running builds from places like VS, where the flag isn't easily exposed or configurable. This lets users configure the number of jobs to be used by default if `-j` isn't specified, instead of always defaulting to number of cores - 1. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> | ||||
* | | Merge pull request #95504 from mihe/ninja-options | Rémi Verschelde | 2024-08-26 | 1 | -5/+4 |
|\ \ | | | | | | | | | | Expose more Ninja-related build options | ||||
| * | | Expose more Ninja-related build options | Mikael Hermansson | 2024-08-13 | 1 | -5/+4 |
| | | | |||||
* | | | Change warning muting so it affects all levels, but locally | Pedro J. Estébanez | 2024-08-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #94169 from RandomShaper/wtp_rl_prize | Rémi Verschelde | 2024-08-26 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | Batch of fixes for `WorkerThreadPool` and `ResourceLoader` | ||||
| * | | | WorkerThreadPool (plus friends): Overhaul unlock allowance zones | Pedro J. Estébanez | 2024-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This fixes a rare but possible deadlock, maybe due to undefined behavior. The new implementation is safer, at the cost of some added boilerplate. | ||||
* | | | | SCons: Better validation for platform-specific opt-in drivers | Rémi Verschelde | 2024-08-21 | 1 | -3/+3 |
|/ / / | | | | | | | | | | | | | This replaces cryptic compilation errors with a clear error message and early build termination. | ||||
* | | | Add Metal support for macOS (arm64) and iOS | Stuart Carnie | 2024-08-20 | 1 | -0/+1 |
| | | | |||||
* | | | Enable standards conformance for MSVC | Mikael Hermansson | 2024-08-19 | 1 | -0/+4 |
|/ / | |||||
* | | Make sure not to generate the compile_commands.json when not asked | Hakim | 2024-08-09 | 1 | -5/+6 |
| | | |||||
* | | SCons: Load optional ninja tool before setting its options | Rémi Verschelde | 2024-07-31 | 1 | -2/+1 |
| | | | | | | | | | | | | SCons 4.8.0 made this stricter, as we were advised in #94805. Fixes #94805. | ||||
* | | Merge pull request #93753 from Repiteo/scons/visual-studio-fixes | Rémi Verschelde | 2024-07-22 | 1 | -1/+1 |
|\ \ | |/ |/| | | | SCons: Fix output with `vsproj=yes` | ||||
| * | SCons: Fix output with `vsproj=yes` | Thaddeus Crews | 2024-06-29 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #94109 from akien-mga/scons-linker-optflags | Rémi Verschelde | 2024-07-11 | 1 | -4/+11 |
|\ \ | | | | | | | | | | SCons: Pass optimization flags to the linker too, needed by Emscripten | ||||
| * | | SCons: Pass optimization flags to the linker too, needed by Emscripten | Rémi Verschelde | 2024-07-09 | 1 | -4/+11 |
| | | | |||||
* | | | [Web] Fix debug symbols in web builds | Fabio Alessandrelli | 2024-07-10 | 1 | -1/+7 |
|/ / | |||||
* / | SCons: Default `optimize` to `auto`, fixing `target`/`dev_build` inference ↵ | Rémi Verschelde | 2024-07-09 | 1 | -8/+12 |
|/ | | | | | | for Web Fixes #94087. | ||||
* | Fix not using `encoding="utf-8"` when writing to files or reading from them | Kusok | 2024-06-19 | 1 | -1/+1 |
| | | | | Co-authored-by: ChristopheClaustre <christophe.claustre.31@gmail.com> | ||||
* | Merge pull request #79126 from bruvzg/SteamTime | Rémi Verschelde | 2024-06-03 | 1 | -0/+1 |
|\ | | | | | Enable optional minimal SteamAPI integration for usage time tracking (editor only). | ||||
| * | Enable optional minimal SteamAPI integration for usage time tracking (editor ↵ | bruvzg | 2024-05-31 | 1 | -0/+1 |
| | | | | | | | | only). | ||||
* | | SCons: Process platform-specific flags earlier | Rémi Verschelde | 2024-05-30 | 1 | -9/+8 |
|/ | | | | | | | | | | Some of the logic in SCons depends on flags that get overridden in the platform-specific `detect.py`, so it needs to be processed first. For example the Android/iOS/Web platforms override the default `target` to `template_debug`, but this was processed too late so e.g. the logic that sets `env.editor_build` would set it to true due to the default `target` value in the environment being `editor`. | ||||
* | SCons: Minor fixes/adjustments for web compilation | Thaddeus Crews | 2024-05-24 | 1 | -1/+1 |
| | |||||
* | SCons: Convert platform `get_flags` to dictionary | Thaddeus Crews | 2024-05-22 | 1 | -3/+5 |
| | |||||
* | Update pre-commit hooks configuration to use `ruff` instead of `black` | Jakub Marcowski | 2024-05-21 | 1 | -12/+12 |
| | |||||
* | SCons: Fix potential Windows ANSI exception | Thaddeus Crews | 2024-05-18 | 1 | -10/+18 |
| | |||||
* | SCons: Bump min version to 3.1.2, test it on CI with one Linux job | Rémi Verschelde | 2024-05-17 | 1 | -1/+1 |
| | | | | | | | | | | | The min SCons version had to be bumped as SCons 3.0 before 3.0.3 seems broken (see #92043), and there's little gain from supporting 3.0.3-3.0.5. 3.1.2 is also the first version to avoid ambiguities between Python 2 and Python 3 usage, so we finally use it as the minimum baseline. Also test against Python 3.6 which is also our minimum supported version. This should help prevent regressions whenever we modernize the build scripts. | ||||
* | SCons: Restore compatibility with SCons < 4.0.0 | Rémi Verschelde | 2024-05-17 | 1 | -2/+2 |
| | | | | Fixes #91986. | ||||
* | [SCons] Add options to override AR, AR and RC flags, | bruvzg | 2024-05-15 | 1 | -0/+6 |
| | |||||
* | Merge pull request #91833 from akien-mga/scons-min-gcc-version-9 | Rémi Verschelde | 2024-05-14 | 1 | -15/+5 |
|\ | | | | | | | SCons: Bump minimum supported GCC version to GCC 9 | ||||
| * | SCons: Bump minimum supported GCC version to GCC 9 | Rémi Verschelde | 2024-05-11 | 1 | -15/+5 |
| | | | | | | | | | | | | | | - GCC 7 supports C++17 but seems to have breaking regressions, see #79352. - GCC 8 broke C++17 guaranteed copy elision support, fixed in 8.4, but... - GCC 9 is old enough (2022) to use as a baseline and stop dealing with unmaintained and less efficient compiler versions. | ||||
* | | Merge pull request #91866 from programneer/dont-splash-my-editor | Rémi Verschelde | 2024-05-13 | 1 | -8/+9 |
|\ \ | | | | | | | | | | Don't define `NO_EDITOR_SPLASH` in export templates | ||||
| * | | Don't define NO_EDITOR_SPLASH in export templates | Programneer | 2024-05-12 | 1 | -8/+9 |
| |/ | |||||
* / | SCons: Preserve `Environment` values when updating `Variables` | Rémi Verschelde | 2024-05-10 | 1 | -41/+33 |
|/ | | | | | | | | | | | Finally reading the docs for `SCons.Variables.Update` let me find this optional parameter, which solves the hacks and pain we've dealt with for years: > args (optional) – a dictionary of keys and values to update in env. > If omitted, uses the variables from the commandline. By passing the environment itself, we preserve the values we've overridden in `SConstruct` or `detect.py`. | ||||
* | SCons: Generate all scripts natively | Thaddeus Crews | 2024-05-07 | 1 | -8/+5 |
| | |||||
* | SCons: Colorize warnings/errors during generation | Thaddeus Crews | 2024-04-28 | 1 | -36/+60 |
| | |||||
* | SCons: `scons_version` to environment variable | Thaddeus Crews | 2024-04-24 | 1 | -8/+6 |
| | |||||
* | SCons: Only use alias if SCons v4.3 or later | Thaddeus Crews | 2024-04-23 | 1 | -6/+12 |
| | |||||
* | SCons: Utilize native Variable alias functionality | Thaddeus Crews | 2024-04-18 | 1 | -8/+3 |
| | |||||
* | SCons: Convert `env_base` to `env` | Thaddeus Crews | 2024-04-17 | 1 | -79/+77 |
| | |||||
* | Only define ENGINE_UPDATE_CHECK_ENABLED in editor builds | Programneer | 2024-04-17 | 1 | -1/+1 |
| | |||||
* | Add automatic checking for engine updates | kobewi | 2024-04-15 | 1 | -0/+4 |
| | |||||
* | SCons: Make new debug_paths_relative option opt-in | Rémi Verschelde | 2024-04-15 | 1 | -1/+1 |
| | | | | | | As pointed out in https://github.com/godotengine/godot/pull/78232#issuecomment-2056467297, it actually makes it harder to run Godot locally while keeping the relationship with the header files it was compiled from. | ||||
* | SCons: Add GCC/Clang option to make debug file paths relative | Rémi Verschelde | 2024-04-12 | 1 | -67/+81 |
| |