|
@@ -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.
|