Skip to content

Commit 291147e

Browse files
authored
Merge pull request godotengine#1611 from Repiteo/library-no-cache
SCons: Don't cache libraries
2 parents 6facde3 + 83c0f15 commit 291147e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/SConstruct

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ else:
4242
source=sources,
4343
)
4444

45+
env.NoCache(library)
4546
Default(library)

tools/godotcpp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ def _godot_cpp(env):
552552

553553
if env["build_library"]:
554554
library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
555+
env.NoCache(library)
555556
default_args = [library]
556557

557558
# Add compiledb if the option is set

0 commit comments

Comments
 (0)