浏览代码

SCons: Don't cache librarys

(cherry picked from commit 83c0f15ab95d608f2c39eda942ee4a51cc1f0456)
Thaddeus Crews 11 月之前
父节点
当前提交
810b0ce13e
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      test/SConstruct
  2. 1 0
      tools/godotcpp.py

+ 1 - 0
test/SConstruct

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

+ 1 - 0
tools/godotcpp.py

@@ -506,6 +506,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