mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 02:41:08 +01:00
added build.xml for LWJGL library
This commit is contained in:
27
java/libraries/lwjgl/build.xml
Normal file
27
java/libraries/lwjgl/build.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="Processing OpenGL LWJGL Library" default="build">
|
||||
|
||||
<target name="clean" description="Clean the build directories">
|
||||
<delete dir="bin" />
|
||||
<delete file="library/opengl-lwjgl.jar" />
|
||||
</target>
|
||||
|
||||
<target name="compile" description="Compile sources">
|
||||
<condition property="core-built">
|
||||
<available file="../../../core/library/core.jar" />
|
||||
</condition>
|
||||
<fail unless="core-built" message="Please build the core library first and make sure it sits in ../../../core/library/core.jar" />
|
||||
|
||||
<mkdir dir="bin" />
|
||||
<javac source="1.6"
|
||||
target="1.6"
|
||||
srcdir="src" destdir="bin"
|
||||
encoding="UTF-8"
|
||||
includeAntRuntime="false"
|
||||
classpath="../../../core/library/core.jar; library/lwjgl.jar; library/lwjgl_util.jar" />
|
||||
</target>
|
||||
|
||||
<target name="build" depends="compile" description="Build OpenGL LWJGL library">
|
||||
<jar basedir="bin" destfile="library/opengl-lwjgl.jar" />
|
||||
</target>
|
||||
</project>
|
||||
Reference in New Issue
Block a user