diff options
Diffstat (limited to 'src/compiler/SConscript.glsl')
-rw-r--r-- | src/compiler/SConscript.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/SConscript.glsl b/src/compiler/SConscript.glsl index 31d8f6debf4..3d28d99fc63 100644 --- a/src/compiler/SConscript.glsl +++ b/src/compiler/SConscript.glsl @@ -116,6 +116,15 @@ env.Prepend(LIBS = [compiler, glsl]) compiler_objs += env.StaticObject("glsl/main.cpp") +# GLSL generated sources + +env.CodeGenerate( + target = 'glsl/ir_expression_operation.h', + script = 'glsl/ir_expression_operation.py', + source = [], + command = python_cmd + ' $SCRIPT > $TARGET' +) + glsl_compiler = env.Program( target = 'glsl_compiler', source = compiler_objs, |