From ad46d50eda262666b5dc474d80fa9e098dae71c7 Mon Sep 17 00:00:00 2001 From: Gary Frost <frost.gary@gmail.com> Date: Mon, 14 Nov 2011 18:45:04 +0000 Subject: [PATCH] Added example target to top level build. It will build nbody example (including attempt at jogl download) --- build.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 85e365b5..ee646ad1 100644 --- a/build.xml +++ b/build.xml @@ -13,7 +13,9 @@ <echo message=" clean"/> <echo message=" Clean the com.amd.aparapi and com.amd.aparapi.jni subdirs."/> <echo message=" build"/> - <echo message=" Build the com.amd.aparapi and com.amd.aparapi.jni artifacts."/> + <echo message=" Build the com.amd.aparapi and com.amd.aparapi.jni artifacts and samples."/> + <echo message=" examples"/> + <echo message=" Build the com.amd.aparapi and com.amd.aparapi.jni artifacts, samples and examples."/> <echo message=" test"/> <echo message=" Build and execute the test code."/> <echo message=" dist"/> @@ -32,6 +34,7 @@ <fileset dir="examples" includes="*/build.xml"/> <fileset dir="test" includes="*/build.xml"/> </subant> + <delete dir="examples\nbody\jogamp"/> <!-- we handle the jogamp delete here, save downloading each build --> <ant dir="com.amd.aparapi.jni" target="clean"/> <ant dir="com.amd.aparapi" target="clean"/> </target> @@ -45,6 +48,12 @@ </subant> </target> + <target name="examples" depends="build"> + <subant target="build"> + <fileset dir="examples" includes="*/build.xml"/> + </subant> + </target> + <target name="test" depends="clean"> <ant dir="com.amd.aparapi" target="build"/> <subant target="junit"> -- GitLab