From 091a61a8d5468365ec2ade2535dc8c439095cf18 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 1 Jun 2012 08:27:21 -0600 Subject: [PATCH] scons: generate the glapitable.h file too --- src/mapi/glapi/gen/SConscript | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript index 81f69dfea47..e8bb22731ca 100644 --- a/src/mapi/glapi/gen/SConscript +++ b/src/mapi/glapi/gen/SConscript @@ -18,6 +18,13 @@ glapi_headers += env.CodeGenerate( command = python_cmd + ' $SCRIPT -m remap_table -f $SOURCE > $TARGET', ) +glapi_headers += env.CodeGenerate( + target = '#src/mapi/glapi/glapitable.h', + script = GLAPI + 'gen/gl_table.py', + source = GLAPI + 'gen/gl_API.xml', + command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET' + ) + glapi_headers += env.CodeGenerate( target = '#src/mapi/glapi/glapitemp.h', script = GLAPI + 'gen/gl_apitemp.py', -- 2.30.2