summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-09-30 11:26:06 -0500
committerDavid Snopek <dsnopek@gmail.com>2024-10-28 16:32:02 -0500
commitbf26191ead2680fc59c51ffd60236627e4b606e6 (patch)
tree7ad18f5e770a21d1a8366d179279123f68ed3e86
parentaf78f2778fe5ba941e04b087d067625d090312fd (diff)
downloadredot-cpp-bf26191ead2680fc59c51ffd60236627e4b606e6.tar.gz
SCons: Don't cache librarys
(cherry picked from commit 83c0f15ab95d608f2c39eda942ee4a51cc1f0456)
-rw-r--r--test/SConstruct1
-rw-r--r--tools/godotcpp.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/SConstruct b/test/SConstruct
index 1f1db0f..b949bca 100644
--- a/test/SConstruct
+++ b/test/SConstruct
@@ -42,4 +42,5 @@ else:
source=sources,
)
+env.NoCache(library)
Default(library)
diff --git a/tools/godotcpp.py b/tools/godotcpp.py
index 9ceac02..b2a63dc 100644
--- a/tools/godotcpp.py
+++ b/tools/godotcpp.py
@@ -552,6 +552,7 @@ def _godot_cpp(env):
if env["build_library"]:
library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
+ env.NoCache(library)
default_args = [library]
# Add compiledb if the option is set