add support for scons cache and enable it for appveyor
This commit is contained in:
parent
2f3c4c94da
commit
428b6a308e
2 changed files with 10 additions and 0 deletions
|
|
@ -434,6 +434,11 @@ if selected_platform in platform_list:
|
|||
if (True): # FIXME: detect GLES3
|
||||
env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.gen.h',src_suffix = '.glsl') } )
|
||||
|
||||
scons_cache_path = os.environ.get("SCONS_CACHE")
|
||||
if scons_cache_path != None:
|
||||
CacheDir(scons_cache_path)
|
||||
print("Scons cache enabled... (path: '" + scons_cache_path + "')")
|
||||
|
||||
Export('env')
|
||||
|
||||
# build subdirs, the build order is dependent on link order.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue