SCons: Properly NoCache all text files

This commit is contained in:
Thaddeus Crews 2025-01-01 15:40:46 -06:00
parent d33da79d3f
commit 73278bf35d
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
10 changed files with 166 additions and 249 deletions

View file

@ -479,8 +479,9 @@ if env["builtin_icu4c"]:
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
if env.editor_build:
env_icu.Depends("#thirdparty/icu4c/icudata.gen.h", "#thirdparty/icu4c/icudt_godot.dat")
env_icu.Command("#thirdparty/icu4c/icudata.gen.h", "#thirdparty/icu4c/icudt_godot.dat", make_icu_data)
env_icu.CommandNoCache(
"#thirdparty/icu4c/icudata.gen.h", "#thirdparty/icu4c/icudt_godot.dat", env.Run(make_icu_data)
)
env_text_server_adv.Prepend(CPPPATH=["#thirdparty/icu4c/"])
else:
thirdparty_sources += ["icu_data/icudata_stub.cpp"]