64fe2ea656
code into the Bang project directly so as to confine the dependencies on JME libraries to the only thing that will ever need them. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1035 ed5b42cb-e716-0410-a449-f6a68f950b19
38 lines
1.2 KiB
XML
38 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- build configuration -->
|
|
<project name="nenya-checks" basedir=".">
|
|
|
|
<!-- checks the availability of certain libraries -->
|
|
<target name="check-available">
|
|
<available property="lwjgl.present"
|
|
classname="org.lwjgl.LWJGLException" classpathref="classpath"/>
|
|
<echo level="info" message="Have LWJGL: ${lwjgl.present}"/>
|
|
|
|
<available property="jorbis.present"
|
|
classname="com.jcraft.jorbis.Info" classpathref="classpath"/>
|
|
<echo level="info" message="Have JOrbis: ${jorbis.present}"/>
|
|
|
|
<available property="jl.present"
|
|
classname="javazoom.jl.decoder.Decoder" classpathref="classpath"/>
|
|
<echo level="info" message="Have JL: ${jl.present}"/>
|
|
|
|
<available property="xml-writer.present"
|
|
classname="com.megginson.sax.DataWriter" classpathref="classpath"/>
|
|
<echo level="info" message="Have XML Writer: ${xml-writer.present}"/>
|
|
|
|
<condition property="build.openal">
|
|
<and>
|
|
<isset property="lwjgl.present"/>
|
|
<isset property="jorbis.present"/>
|
|
<isset property="jl.present"/>
|
|
</and>
|
|
</condition>
|
|
|
|
<condition property="build.xml">
|
|
<isset property="xml-writer.present"/>
|
|
</condition>
|
|
</target>
|
|
|
|
</project>
|