1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00
Files
godot/core
Rémi Verschelde a5093d64ac SCons: List .gen.cpp sources explicitly to avoid globbing errors
Whenever we change the name (or remove) generated cpp files with the `.gen.cpp`
extension, users run into build issues when switching between branches (i.e.
switching before and after the name change/removal). This is because we glob
`*.cpp` so if a now-obsolete file from a previous build is present, we'll
include it too, potentially leading to bugs or compilation failure (due to
missing headers or invalid code).

So globbing patterns in `add_source_files` will now skip files ending with
`.gen.cpp`, which should instead be passed explicitly where they're used.

(cherry picked from commit c133480531)
2021-10-16 10:59:14 +02:00
..
2021-07-14 11:43:23 +01:00
2021-07-14 11:43:23 +01:00
2021-10-04 15:15:27 +02:00
2021-06-16 11:56:25 +01:00
2021-08-18 00:46:51 +08:00
2021-08-18 00:46:51 +08:00
2021-10-12 22:31:18 +03:00
2021-01-13 16:17:06 +01:00