Mesa (master): scons: generate the glapitable.h file too

Brian Paul brianp at kemper.freedesktop.org
Fri Jun 1 14:27:45 UTC 2012


Module: Mesa
Branch: master
Commit: 091a61a8d5468365ec2ade2535dc8c439095cf18
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=091a61a8d5468365ec2ade2535dc8c439095cf18

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jun  1 08:27:21 2012 -0600

scons: generate the glapitable.h file too

---

 src/mapi/glapi/gen/SConscript |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 81f69df..e8bb227 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -19,6 +19,13 @@ glapi_headers += env.CodeGenerate(
     )
 
 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',
     source = GLAPI + 'gen/gl_API.xml',




More information about the mesa-commit mailing list