Commit Graph

14 Commits

Author SHA1 Message Date
9b1857ec62 Ported: SCons: Fix MSVC D9025 warning overriding opt level
And cleanup disable_warnings too to avoid setting `/w` / `-w` multiple times.
- akien-mga
39b1c06a59
2022-12-22 17:54:57 +01:00
dzil123
a0d9a05a51 (3.x) Fix compilation with custom "GODOT_VERSION_STATUS" 2022-11-13 00:52:13 +01:00
Rémi Verschelde
36356df17e SCons: Add methods.get_version_info() method returning a Dict
This makes it possible to retrieve all relevant versioning info used to
generate `core/version_generated.gen.h` in the buildsystem.

Notably it makes the custom logic parsing the `GODOT_VERSION_STATUS`
environment variable to override status easy to reuse.

(cherry picked from commit d432fe38a9a65b9e84964a7393c9fe4ce22361a3)
2022-10-08 16:28:01 +02:00
Fredia Huya-Kouadio
cddfcbab2c Fix build failures for Android on Windows
The issue is caused by https://github.com/godotengine/godot/pull/64306 which makes use of a 3.7 feature while the current recommended python version is 3.5 for 3.x and 3.6 for master.

(cherry picked from commit 667f4ed742e0010adb678dff45e004310c4886d4)
2022-09-16 22:47:48 +02:00
Pedro J. Estébanez
509c6c37ea Fix jumbled error output when using Windows spawn fix
(cherry picked from commit 4a3cb1447351c2e915f2beb8c34780d2c6fe3e43)
2022-09-16 21:01:50 +02:00
3df74faf8c Removed the old dependency sorting system. 2022-08-18 12:54:39 +02:00
91fe9ed8ca Backported: [Scons] Implement module dependency sorting.
Modules can now call:
env.module_add_dependencies(name: str, deps: list, optional: bool)
To add required or optional dependencies during the "can_build" step.
Required dependencies will be checked and the module will be not be
enabled when they are missing, printing a warning to notify the user.
- Faless
951a1016d3
2022-08-18 12:44:45 +02:00
4732493761 Backported: SCons: Validate dependencies for linked multimedia modules
This is still a bit hacky and eventually we should rework the way we handle
optional dependencies (especially with regard to builtin/system libs), but
it's a simple first step.
- akien-mga
7c74312217
2022-08-18 12:25:38 +02:00
Rémi Verschelde
2f68738632 SCons: Fix creating VS solution with SCons 4.4.0
Fixes #63709.

Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
(cherry picked from commit 89847dc6e34e1caf589a03fdcc3aecd193d9bd1f)
2022-08-02 17:58:45 +02:00
Nathan Franke
9dae8cd2a5 support git packed refs in version generator
(cherry picked from commit 77cf65804c732431574a99063f2132567d54a6be)
2022-07-29 22:39:36 +02:00
2a5e0ae0f8 Ported https://github.com/godotengine/godot/pull/53443 . 2022-07-06 18:37:38 +02:00
c054c4db58 Cleaned up more remnants of the mono module. 2022-03-23 23:10:27 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00