Commit Graph

293 Commits

Author SHA1 Message Date
Spartan322
35e289fa5e Merge commit godotengine/godot@0b6a717ac1 2025-02-04 11:38:32 -05:00
Thaddeus Crews
382c760ea6 SCons: Apply new ruff/mypy fixes 2025-02-03 09:55:09 -06:00
Spartan322
4805bc1eee Merge commit godotengine/godot9630d4e2fc1d0fdef6f46f24e236548549f31d49 2025-01-17 16:33:06 -05:00
A Thousand Ships
b12ca37be6 [Buildsystem] Break after purging cache 2025-01-17 12:29:24 +01:00
Thaddeus Crews
73278bf35d SCons: Properly NoCache all text files 2025-01-16 16:59:12 -06:00
Spartan322
5e6a04e752 Merge commit godotengine/godot@5b52b4b5c4 2025-01-12 13:06:53 -05:00
Thaddeus Crews
a29294fddc SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
Spartan322
4ffc9ac18b Merge commit godotengine/godot@bdf625bd54 2025-01-04 00:55:26 -05:00
Thaddeus Crews
b536b3e12d SCons: Don't update node count when empty 2024-12-21 11:13:27 -06:00
Spartan322
fa0b4af786 Merge commit godotengine/godot@a7a2a12bfd 2024-12-21 05:32:01 -05:00
Thaddeus Crews
df6ac3973e SCons: Fix minor show_progress issues 2024-12-17 09:27:32 -06:00
Rémi Verschelde
182b4741ea Merge pull request #93479 from Repiteo/scons/better-colored-output
SCons: Improve colored output
2024-12-17 16:18:41 +01:00
Spartan322
9d47e1e39e Merge commit godotengine/godot@b9437c3938 2024-12-15 09:24:31 -05:00
Pablo Andres Fuente
7c4c1100e0 Improving detection of ccache on Mac
Before this commit, ccache where only used on Mac when
`OSXCROSS_ROOT` was defined. Now, it could be used even
when that envirnment variable is not defined.
2024-12-13 09:50:27 -03:00
Thaddeus Crews
d8761f2c79 SCons: Improve colored output 2024-12-10 11:44:48 -06:00
Thaddeus Crews
070aeb5688 SCons: Fix MSVC bypassing disabled warnings 2024-12-09 11:49:42 -06:00
Spartan322
e58e18261e Merge commit godotengine/godot@d09d82d433 2024-11-26 12:56:19 -05:00
A Thousand Ships
1c522c9f0c [Buildsystem] Fix path format for SCU builds on Windows 2024-11-24 15:33:47 +01:00
Thaddeus Crews
b25c7e31ea Merge pull request #99501 from AThousandShips/fix_cache_time
[Buildsystem] Prevent cache check mangling access time
2024-11-21 17:56:52 -06:00
Thaddeus Crews
579c19a9ce Merge pull request #99274 from shana/vsproj-calculate-dependencies
Use scons to calculate all the sources needed for vsproj generation.
2024-11-21 17:56:50 -06:00
A Thousand Ships
31c8aadc47 [Buildsystem] Prevent cache check mangling access time
Checking for text files using `open` changes `atime`, which breaks cache
access sorting, this ensures the cache access time is preserved.
2024-11-21 19:30:27 +01:00
Andreia Gaita
84db024f6f Use scons to calculate all the sources needed for vsproj generation.
Scons knows every file - sources, headers, etc - that the binary depends on,
and trying to figure that out manually is just too prone to error.
2024-11-21 11:11:35 +01:00
Spartan322
4a5836e546 Merge commit godotengine/godot@6c05ec3d67 2024-11-15 14:24:07 -05:00
Rémi Verschelde
c9acbf5a79 SCons: Fix up build after cache logic changes 2024-11-15 18:18:12 +01:00
Thaddeus Crews
6c9337de36 Merge pull request #99217 from dustdfg/refactor_compiler_min_detection
Buildsystem: Refactor compiler detection code
2024-11-15 10:42:42 -06:00
Thaddeus Crews
0e4a4e3c4d SCons: Improve cache purging logic
• Implement caching via SCons arguments, rather than environment variables
2024-11-15 08:29:58 -06:00
Yevhen Babiichuk (DustDFG)
d55ed0cb15 Buildsystem: Refactor compiler detection code
* Delete old check for gcc 8 as we support 9 or higher
* Flatten branches for clang and apple clang
* Renamed is_vanilla_clang to is_apple_clang to be more clear

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-15 12:59:46 +02:00
Thaddeus Crews
49023c0f7d Merge pull request #99138 from dustdfg/remove_old_vs_proj_code
Delete old unused code for VS project generation
2024-11-13 08:34:13 -06:00
Yevhen Babiichuk (DustDFG)
216488ad9b Delete old unused code for VS project generation
Also ensured that sorting of files for hashing actually happens

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-12 21:26:12 +02:00
Thaddeus Crews
66fe2c8b44 SCons: Bump minimum SCons & Python versions
SCons: 3.1.2 → 4.0
Python: 3.6 → 3.8
2024-11-12 11:30:24 -06:00
Spartan322
62fbec9f6f Merge commit godotengine/godot@0f5f3bc954 2024-11-11 09:08:01 -05:00
Yevhen Babiichuk (DustDFG)
0c4575b4e5 Delete old function for parsing CG shaders
This lonely dinosaur was overlooked by a meteor. Its family was
killed but it managed to survive until today. People noticed him
but they didn't understood he should be dead... So our dino even
got medicine on a level of all other animals of our zoo. Good bye!

All the CG and HLSL functions (except this) were removed years ago
when GLSL2 shaders support was added:

Look at: eac4c984df

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-08 21:47:03 +02:00
Yevhen Babiichuk (DustDFG)
32e2b45430 Replace _find_scu_section_name function with SCons builtins
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-06 11:29:08 +02:00
Spartan322
b8b8a7127e Merge commit godotengine/godot@87318a2fb7 2024-11-06 01:12:36 -05:00
Hugo Locurcio
180f079fa7 Remove pre-Visual Studio 2017 detection code in the buildsystem
Visual Studio 2017 or later has been required to build Godot for a while now.
2024-11-05 13:54:15 +01:00
Yevhen Babiichuk (DustDFG)
81a032337c Deleted stale check. Now SCons supports globbing with # inside path
Some parts of the buildsystem already were using it with `#` in path

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-02 22:20:17 +02:00
Spartan322
82de309d58 Merge commit godotengine/godot@8004c7524f 2024-10-30 05:22:24 -04:00
Spartan322
ad8b971a55 Fix copyright_headers.py referring to Godot
Fix create_test.py missing Redot copyright reference

(cherry picked from commit 08b664511b)
2024-10-27 11:12:48 -04:00
Spartan322
d7a46e217e Fix build versioning to account for status_version
(cherry picked from commit 41bcc4df41)
2024-10-24 18:32:17 -04:00
Spartan322
ce103fb883 Fix VERSION_FULL_CONFIG ignoring status versioning
(cherry picked from commit cb0d3f7aa0)
2024-10-23 23:54:56 -04:00
Yevhen Babiichuk (DustDFG)
8e75e029b3 Make module dependency check recursive
The `env.disabled_modules` and `methods.disable_module` weren't used anywhere
so the first one was repurposed and the second just deleted

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-10-23 08:26:22 +03:00
Token Gamedev
41eed14ec5 Fixed the VS project creation 2024-10-18 15:26:22 +05:30
Spartan322
361170f6da Bump version to 4.4-alpha.2
Add status_version to version.py
Update Engine.xml example for get_godot_compatible_version_info
2024-10-14 10:07:25 -04:00
Randolph W. Aarseth II
d5fc3d1e8c Rebrand Godot to Redot
Add Linux Editor tests workflow matrix
Add Windows Editor w/ Mono workflow matrix
Add Generate Glue Code job to Windows workflow
Add Build GodotSharp job to Windows workflow

Add godot compatibility version references
Add Godot author info
Add Godot version compatibility info
Add Godot donor info
Add Godot authors and donors to editor_about.cpp

Credits:
Co-authored-by: Skogi <skogi.b@gmail.com>
Co-authored-by: Spartan322 <Megacake1234@gmail.com>
Co-authored-by: swashberry <swashdev@pm.me>
Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: radenthefolf <radenthefolf@gmail.com>
Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com>
Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com>
Co-authored-by: decryptedchaos <nixgod@gmail.com>
Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com>
Co-authored-by: Mister Puma <MisterPuma80@gmail.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: SingleError <isaaconeoneone@gmail.com>
Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
2024-10-11 02:25:54 -04:00
九軒
607585e22b SCons: Fix MSVC version check for VS Preview 2024-10-02 14:08:53 +02:00
Thaddeus Crews
1d3c4e192c SCons: Include pre-release in MSVC detection 2024-09-29 11:00:17 -05:00
Thaddeus Crews
9a8fcd5263 SCons: Fix MSVC decode error 2024-09-29 09:02:13 -05:00
Thaddeus Crews
1043c00137 SCons: Detect msvc compiler version
• C standard now passed on msvc if the version is supported
2024-09-27 11:16:33 -05:00
Rémi Verschelde
804d9775b5 Merge pull request #96407 from alvinhochun/mingw-ar-long-command-tempfile
Remove `ARFLAGS` hack for Windows, replace with `TEMPFILE`
2024-09-18 17:40:53 +02:00
A Thousand Ships
acffc53e01 [Buildsystem] Improve cache handling
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.
2024-09-09 16:36:56 +02:00