Browse Source

SCons: Don't cache librarys

Thaddeus Crews 10 months ago
parent
commit
83c0f15ab9
2 changed files with 2 additions and 0 deletions
  1. 1 0
      test/SConstruct
  2. 1 0
      tools/godotcpp.py

+ 1 - 0
test/SConstruct

@@ -42,4 +42,5 @@ else:
         source=sources,
         source=sources,
     )
     )
 
 
+env.NoCache(library)
 Default(library)
 Default(library)

+ 1 - 0
tools/godotcpp.py

@@ -552,6 +552,7 @@ def _godot_cpp(env):
 
 
     if env["build_library"]:
     if env["build_library"]:
         library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
         library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
+        env.NoCache(library)
         default_args = [library]
         default_args = [library]
 
 
         # Add compiledb if the option is set
         # Add compiledb if the option is set