diff options
author | Michael Bien <[email protected]> | 2009-09-18 15:55:10 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-09-18 15:55:10 +0200 |
commit | d31496fc6c4d1e246cfd53beb438312d16f8d582 (patch) | |
tree | 4fda23ea656802a06c00769e83a424ed6cb7913a /build.xml | |
parent | 105aa6ed86d452245007cbfd36e712d4d5c66fa3 (diff) |
added cl-gl3 binding
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -24,16 +24,17 @@ <pathelement location="../gluegen/build/antlr-2.7.7.jar" /> </path> + <taskdef name="gluegen" classname="com.sun.gluegen.ant.GlueGenTask" classpathref="gluegen.classpath" /> + + <!--OpenCL Impl including GL interoperability--> <dirset id="jocl.include.path" dir="${basedir}"> <include name="resources"/> <include name="resources/CL"/> <include name="resources/jvm_stubs"/> </dirset> - <!--OpenCL--> <echo message=" - - - generate JOCL java files - - - "/> - <taskdef name="gluegen" classname="com.sun.gluegen.ant.GlueGenTask" classpathref="gluegen.classpath" /> - <gluegen src="resources/cl.h" + <gluegen src="resources/opencl.h" config="resources/OpenCL.cfg" includeRefid="jocl.include.path" emitter="com.sun.gluegen.JavaEmitter"> @@ -41,16 +42,8 @@ </gluegen> <echo message=" - - - JOCL java files generated - - - "/> - <!-- TODO OpenCL - OpenGL interoperability - <echo message=" - - - generate CL-GL java files - - - "/> - <gluegen src="resources/cl_gl.h" - config="resources/OpenCLGL.cfg" - includeRefid="include.path" - emitter="com.sun.gluegen.JavaEmitter"> - <classpath refid="gluegen.classpath" /> - </gluegen> - <echo message=" - - - CL-GL java files generated - - - "/> - --> + <!-- TODO 1. generate CLGLimpl + 2. split interfaces into CL and CLGL --> </target> @@ -87,6 +80,8 @@ <includepath path="${java.includes.dir}"/> <includepath path="${java.includes.dir.platform}"/> + <includepath path="${basedir}/../jogl/make/stub_includes/opengl/GL3"/> + <includepath path="${basedir}/../jogl/make/stub_includes/opengl"/> <includepath path="${basedir}/resources"/> <includepath path="${basedir}/resources/CL"/> |