mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-04-21 06:14:11 +00:00
Modified so it will only build the dx8 plugin if run under Windows.
This commit is contained in:
parent
c90aa7cede
commit
de25a38b88
1 changed files with 16 additions and 3 deletions
19
build.xml
19
build.xml
|
|
@ -18,14 +18,26 @@
|
||||||
<!-- <property name="build.compiler" value="jikes"/> -->
|
<!-- <property name="build.compiler" value="jikes"/> -->
|
||||||
<!-- You might like to set up some overridable paths, etc.: -->
|
<!-- You might like to set up some overridable paths, etc.: -->
|
||||||
<!-- <property name="mylib" value="../lib/mylib.jar"/> -->
|
<!-- <property name="mylib" value="../lib/mylib.jar"/> -->
|
||||||
|
|
||||||
|
<!-- If we are running in windows, set dx8 property to true -->
|
||||||
|
<condition property="dx8" >
|
||||||
|
<os family="windows" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile" depends="init">
|
<target name="core" depends="init">
|
||||||
<!-- Both srcdir and destdir should be package roots. -->
|
<!-- Both srcdir and destdir should be package roots. -->
|
||||||
<!-- They could be different of course; in that case NetBeans can also be set -->
|
<!-- They could be different of course; in that case NetBeans can also be set -->
|
||||||
<!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
|
<!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
|
||||||
<ant dir="coreAPI" />
|
<ant dir="coreAPI" />
|
||||||
<ant dir="plugins/DX8" />
|
</target>
|
||||||
|
|
||||||
|
<target name="windows_plugin" depends="core" if="dx8" >
|
||||||
|
<!-- Both srcdir and destdir should be package roots. -->
|
||||||
|
<!-- They could be different of course; in that case NetBeans can also be set -->
|
||||||
|
<!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
|
||||||
|
<ant dir="plugins/DX8" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc" depends="init">
|
<target name="javadoc" depends="init">
|
||||||
|
|
@ -36,6 +48,7 @@
|
||||||
<ant dir="plugins/DX8" target="javadoc"/>
|
<ant dir="plugins/DX8" target="javadoc"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="compile" depends="core,windows_plugin" />
|
||||||
|
|
||||||
<target name="all" depends="init,compile" description="Build everything.">
|
<target name="all" depends="init,compile" description="Build everything.">
|
||||||
<echo message="Application built. Hello ${hello}!"/>
|
<echo message="Application built. Hello ${hello}!"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue