summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-05-16 22:25:28 +0000
committerKenneth Russel <[email protected]>2005-05-16 22:25:28 +0000
commit5aef7fb656066a1f0943c3f23aa0038c2752a693 (patch)
tree16be621af128ebf75723937015013cd021dc7202
parent7ac0aeff0fb6208a048588d9c83c941a82c64ed7 (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
-rw-r--r--make/build.xml12
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>