scons: generate the glapitable.h file too

This commit is contained in:
Brian Paul 2012-06-01 08:27:21 -06:00
parent 8009fca501
commit 091a61a8d5

View file

@ -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',