diff options
author | Kenneth Russel <[email protected]> | 2005-05-16 22:25:28 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-16 22:25:28 +0000 |
commit | 5aef7fb656066a1f0943c3f23aa0038c2752a693 (patch) | |
tree | 16be621af128ebf75723937015013cd021dc7202 /make/build.xml | |
parent | 7ac0aeff0fb6208a048588d9c83c941a82c64ed7 (diff) |
Handle -Djogl.cg=1 property in jogl-demos' build.xml as well
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@75 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml index 3d672e9..0a2cb2d 100644 --- a/make/build.xml +++ b/make/build.xml @@ -31,7 +31,15 @@ </fail> </target> - <target name="init" depends="java.class.path.validate"> + <target name="setup.cg.excludes" unless="jogl.cg"> + <property name="jogl.cg.excludes" value="demos/cg/**" /> + </target> + + <target name="skip.cg.excludes" if="jogl.cg"> + <property name="jogl.cg.excludes" value="" /> + </target> + + <target name="init" depends="java.class.path.validate,setup.cg.excludes,skip.cg.excludes"> <property name="jogl.jar" value="../../jogl/build/jogl.jar" /> <property name="classes" value="../build/classes" /> <property name="src" value="../src" /> @@ -50,7 +58,7 @@ <pathelement path="${classpath}" /> <pathelement location="${jogl.jar}" /> </path> - <javac destdir="${classes}" source="1.4" debug="true" debuglevel="source,lines"> + <javac destdir="${classes}" excludes="${jogl.cg.excludes}" source="1.4" debug="true" debuglevel="source,lines"> <src path="${src}" /> <classpath refid="jogl.classpath" /> </javac> |