2
0
Эх сурвалжийг харах

SCons: Don't cache librarys

Thaddeus Crews 10 сар өмнө
parent
commit
83c0f15ab9
2 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 1 0
      test/SConstruct
  2. 1 0
      tools/godotcpp.py

+ 1 - 0
test/SConstruct

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

+ 1 - 0
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