diff options
-rw-r--r-- | build.xml | 9 | ||||
-rw-r--r-- | nbproject/project.properties | 5 |
2 files changed, 11 insertions, 3 deletions
@@ -88,7 +88,7 @@ <target name="-post-compile" depends="c.compile.default" /> - <target name="-post-jar"> + <target name="-post-jar" depends="jar.natives"> <!-- TODO temporary codebase --> <property name="jnlp.codebase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl/"/> @@ -99,15 +99,20 @@ </filterchain> </copy> + </target> + + <target name="jar.natives" unless="c.dont.compile"> + <jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml" destfile="${dist.jar.dir}/jocl-natives-${os.and.arch}.jar" manifest="${basedir}/manifest.mf" /> </target> + <target name="c.compile.default" depends="gluegen.cpptasks.detect.os, gluegen.cpptasks.detect.compiler, jocl.c.compile, c.rename.lib.mingw" /> - <target name="jocl.c.compile" depends="c.setup.build"> + <target name="jocl.c.compile" depends="c.setup.build" unless="c.dont.compile"> <echo message=" - - - compiling JOCL natives - - - "/> <echo message="${compiler.cfg.id}"/> diff --git a/nbproject/project.properties b/nbproject/project.properties index ea1f7c80..dadb96be 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -109,4 +109,7 @@ static.binding=true #overwrite lib path for static linking #use only if static.binding is true #opencl.lib.dir=C:/Program Files (x86)/ATI Stream/lib/x86 -#opencl.lib.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32
\ No newline at end of file +#opencl.lib.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32 + +#disable the build build the native part of the bindings +#c.dont.compile=true |