Commit Graph

317 Commits

Author SHA1 Message Date
Spartan322
63bd691bb9 Merge commit godotengine/godot@88b9932ce1 2025-06-23 16:28:53 -04:00
Spartan322
7f9872092c Merge commit godotengine/godot@5abed52fd9 2025-06-20 03:57:56 -04:00
Andreia Gaita
87a7c1df93 Add module defines to the per-platform generated props file so VS knows which ones are enabled. 2025-06-19 14:42:57 +02:00
KOGA Mitsuhiro
88181c86b5 Disable posix mode in shlex.split for windows 2025-06-17 05:59:21 +09:00
Spartan322
38fb5272ad Merge commit godotengine/godot@7a0ab9d561 2025-05-22 14:03:25 -04:00
Ricardo Sanchez-Saez
47971c0a27 Introduce 'visionos' platform derived from 'apple_embedded' 2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez
457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Spartan322
63f2d58fcf Merge commit godotengine/godot@428a762e98 2025-05-14 14:16:55 -04:00
lawnjelly
39b16bcc3c SCU - hide SCU folders by adding "." to foldername 2025-05-11 07:02:36 +01:00
Spartan322
2b59059dde Merge commit godotengine/godot@2d3bdcac35 2025-04-19 16:05:28 -04:00
Andreia Gaita
6e7f77adc4 Fix issue where vsproj=yes vsproj_gen_only=no sometimes fails to build
Assigning `env["CCFLAGS"]` directly to a variable causes any changes to that
variable to also be done to the original env object. This means CCFLAGS would
be modified during generation of the VS project with additional flags and
other options set by platforms.

This would normally not be noticed when just generating the project, but when
generating and building at the same time with a compiler that doesn't support
VS-style flags, this flag leakage can cause unexpected build failures.
2025-04-10 15:06:38 +02:00
Thaddeus Crews
4362b11557 Merge pull request #103405 from van800/shakhov/macosx
Fix `.sln` project generation logic for Rider to support all OS and all C++ toolchains
2025-04-09 08:51:45 -05:00
Ivan Shakhov
6ff86e49cf Fix .sln project generation logic for Rider to support all OS and all C++ toolchains
Co-authored-by: Andreia Gaita <shana@spoiledcat.net>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-04-08 15:40:05 +02:00
Thaddeus Crews
01f0bd36a4 SCons: Integrate WARNLEVEL & OPTIMIZELEVEL 2025-04-03 18:10:29 -05:00
Thaddeus Crews
32de6285a8 SCons: Modernize shader builders 2025-03-29 11:51:54 -05:00
Thaddeus Crews
2b1f463de5 SCons: Refactor color.py 2025-03-25 12:27:35 -05:00
Thaddeus Crews
10ed66f28c SCons: Add emitter to declutter build objects 2025-03-15 12:08:24 -05:00
Thaddeus Crews
de33bd2b7c CI: Trim cache before saving 2025-03-14 14:05:02 -05:00
Thaddeus Crews
be429eb404 SCons: Make builders prettier, utilize constexpr 2025-03-11 18:31:20 -05:00
Thaddeus Crews
77e9f55c51 Merge pull request #102676 from adamscott/add-web-library-emitter
[Web] Add library emitter to make sources dependent of compiler version
2025-03-11 16:53:53 -05:00
Thaddeus Crews
4505352021 SCons: Simplify Windows/MSVC detection 2025-03-09 10:45:32 -05:00
Thaddeus Crews
96fdaa616b Style: Integrate #pragma once in builders/checks 2025-03-07 17:32:33 -06:00
Thaddeus Crews
2949ab0707 SCons: Implement minor fixes 2025-03-01 08:53:53 -06:00
Adam Scott
02cc1ec95b [Web] Add library emitter to make sources dependent of compiler version 2025-02-10 16:18:35 -05:00
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