mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
use the same cache for all branches for appveyor
This commit is contained in:
parent
48ca47b4ea
commit
388249c386
22 changed files with 97 additions and 49 deletions
|
@ -1418,6 +1418,7 @@ def split_lib(self, libname):
|
|||
if base != cur_base and len(list) > max_src:
|
||||
if num > 0:
|
||||
lib = env.Library(libname + str(num), list)
|
||||
env.NoCache(lib)
|
||||
lib_list.append(lib)
|
||||
list = []
|
||||
num = num + 1
|
||||
|
@ -1425,6 +1426,7 @@ def split_lib(self, libname):
|
|||
list.append(f)
|
||||
|
||||
lib = env.Library(libname + str(num), list)
|
||||
env.NoCache(lib)
|
||||
lib_list.append(lib)
|
||||
|
||||
if len(lib_list) > 0:
|
||||
|
@ -1432,11 +1434,14 @@ def split_lib(self, libname):
|
|||
if os.name == 'posix' and sys.platform == 'msys':
|
||||
env.Replace(ARFLAGS=['rcsT'])
|
||||
lib = env.Library(libname + "_collated", lib_list)
|
||||
env.NoCache(lib)
|
||||
lib_list = [lib]
|
||||
|
||||
lib_base = []
|
||||
env.add_source_files(lib_base, "*.cpp")
|
||||
lib_list.insert(0, env.Library(libname, lib_base))
|
||||
lib = env.Library(libname, lib_base)
|
||||
env.NoCache(lib)
|
||||
lib_list.insert(0, lib)
|
||||
|
||||
env.Prepend(LIBS=lib_list)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue