diff options
author | Kenneth Russel <[email protected]> | 2006-02-26 18:48:26 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-02-26 18:48:26 +0000 |
commit | 0192562ce71078ce91cf02458ee92bc4603dc8ad (patch) | |
tree | 020dbae88647ea50021739a69b82a6c27e517129 /doc/manual/example7/gen.sh | |
parent | e24dc9a626d1548f67dc79b8f73c519c392bda33 (diff) |
Added XGetVisualInfo and glXChooseFBConfig examples from JOGL.
Intended initial set of configuration file examples is now complete.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@19 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'doc/manual/example7/gen.sh')
-rw-r--r-- | doc/manual/example7/gen.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/manual/example7/gen.sh b/doc/manual/example7/gen.sh new file mode 100644 index 0000000..6fb971e --- /dev/null +++ b/doc/manual/example7/gen.sh @@ -0,0 +1,17 @@ +#!/bin/ksh + +JAVA=java +GLUEGEN_JAR=../../../build/gluegen.jar +ANTLR_JAR=../../../../../ANTLR/antlr-2.7.4/antlr.jar + +NAME=`uname` + +if [ $NAME="Windows*" ] ; then + SEP=\; +elif [ $NAME="CYGWIN*" ] ; then + SEP=\; +else + SEP=: +fi + +java -cp $GLUEGEN_JAR$SEP$ANTLR_JAR com.sun.gluegen.GlueGen -I. -Ecom.sun.gluegen.JavaEmitter -Cfunction.cfg function.h |