summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-10-15 14:42:20 +0200
committerGitHub <noreply@github.com>2024-10-15 14:42:20 +0200
commit291147e21b9d03938cff7d7e38bbe4365f029762 (patch)
tree08c95e0553796332944e2825dfd030c0440fb51e
parent6facde3c29abe4d8b0ff365c252c9aeb16fc5f66 (diff)
parent83c0f15ab95d608f2c39eda942ee4a51cc1f0456 (diff)
downloadredot-cpp-291147e21b9d03938cff7d7e38bbe4365f029762.tar.gz
Merge pull request #1611 from Repiteo/library-no-cache
SCons: Don't cache libraries
-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