diff options
Diffstat (limited to 'etc/targets/global-compile.xml')
-rw-r--r-- | etc/targets/global-compile.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/targets/global-compile.xml b/etc/targets/global-compile.xml new file mode 100644 index 0000000..b226041 --- /dev/null +++ b/etc/targets/global-compile.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="global-compile" basedir="."> + + <target name="global-compile" depends="global-vpp"> + <mkdir dir="${global.dir.build.classes}" /> + <mkdir dir="${global.dir.build.depcache}" /> + <mkdir dir="${global.dir.build.java}" /> + + <depend + srcdir="${global.dir.build.java}" + destdir="${global.dir.build.classes}" + cache="${global.dir.build.depcache}" + closure="yes"> + </depend> + + <javac + srcdir="${global.dir.build.java}" + destdir="${global.dir.build.classes}" + optimize="${system.javac.optimize}" + debug="${system.javac.debug}" + source="${system.javac.source}" + target="${system.javac.target}" + deprecation="${system.javac.deprecation}" + > + <classpath refid="compile-classpath" /> + <!-- + <compilerarg compiler="modern" value="-Xlint:unchecked" /> + --> + <compilerarg compiler="modern" value="-Xlint:deprecation" /> + <compilerarg compiler="modern" value="-Xlint:finally" /> + </javac> + </target> + +</project> |