diff options
author | jeffpk <[email protected]> | 2003-06-26 00:03:05 +0000 |
---|---|---|
committer | jeffpk <[email protected]> | 2003-06-26 00:03:05 +0000 |
commit | 5c940777f8a6a92b0d66f4ef9f0b1c7da34306f0 (patch) | |
tree | 4694fca39935f3f74067c5bf7151b2d186e29bf4 /build.xml | |
parent | 452b39d4994a9dcdd8f553d12d20a84b7cba0df5 (diff) |
Modified so it will only build the dx8 plugin if run under Windows.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@8 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -18,14 +18,26 @@ <!-- <property name="build.compiler" value="jikes"/> --> <!-- You might like to set up some overridable paths, etc.: --> <!-- <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 name="compile" depends="init"> + <target name="core" depends="init"> <!-- 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="coreAPI" /> - <ant dir="plugins/DX8" /> + <ant dir="coreAPI" /> + </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 name="javadoc" depends="init"> @@ -36,6 +48,7 @@ <ant dir="plugins/DX8" target="javadoc"/> </target> + <target name="compile" depends="core,windows_plugin" /> <target name="all" depends="init,compile" description="Build everything."> <echo message="Application built. Hello ${hello}!"/> |