summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index e866a4c998..0c91399a12 100644
--- a/SConstruct
+++ b/SConstruct
@@ -598,6 +598,13 @@ if selected_platform in platform_list:
)
}
)
+ env.Append(
+ BUILDERS={
+ "GLSL_HEADER": env.Builder(
+ action=run_in_subprocess(gles_builders.build_raw_headers), suffix="glsl.gen.h", src_suffix=".glsl"
+ )
+ }
+ )
scons_cache_path = os.environ.get("SCONS_CACHE")
if scons_cache_path != None: