mirror of https://github.com/rusefi/RomRaider.git
Add cross-compile properties
This commit is contained in:
parent
ed98814e68
commit
d1a9985070
12
build.xml
12
build.xml
|
@ -75,8 +75,10 @@
|
||||||
<!-- java compiler properties -->
|
<!-- java compiler properties -->
|
||||||
<property name="javac.source" value="1.6" />
|
<property name="javac.source" value="1.6" />
|
||||||
<property name="javac.target" value="1.6" />
|
<property name="javac.target" value="1.6" />
|
||||||
|
<property name="bootclasspath.dir" value="C:\Program Files (x86)\Java\jdk1.6.0_45\jre\lib" />
|
||||||
<property name="debug" value="off" />
|
<property name="debug" value="off" />
|
||||||
<property name="deprecation" value="on" />
|
<property name="deprecation" value="on" />
|
||||||
|
<property name="javac.verbose" value="off" />
|
||||||
|
|
||||||
<!-- version properties are set in this file, both for the product itself and
|
<!-- version properties are set in this file, both for the product itself and
|
||||||
for some of the external dependencies (jar files and such) -->
|
for some of the external dependencies (jar files and such) -->
|
||||||
|
@ -306,6 +308,9 @@
|
||||||
<attribute name="os" />
|
<attribute name="os" />
|
||||||
<sequential>
|
<sequential>
|
||||||
<mkdir dir="${classes.dir}" />
|
<mkdir dir="${classes.dir}" />
|
||||||
|
<path id="bootpath.ref">
|
||||||
|
<fileset dir="${bootclasspath.dir}" includes="*.jar"/>
|
||||||
|
</path>
|
||||||
<javac
|
<javac
|
||||||
failonerror="true"
|
failonerror="true"
|
||||||
srcdir="${src.java.dir}"
|
srcdir="${src.java.dir}"
|
||||||
|
@ -314,11 +319,14 @@
|
||||||
target="${javac.target}"
|
target="${javac.target}"
|
||||||
includeantruntime="false"
|
includeantruntime="false"
|
||||||
debug="${debug}"
|
debug="${debug}"
|
||||||
deprecation="${deprecation}">
|
verbose="${javac.verbose}"
|
||||||
<classpath refid="@{os}.classpath" />
|
deprecation="${deprecation}"
|
||||||
|
compiler="javac${javac.target}"
|
||||||
|
bootclasspath="${toString:bootpath.ref}" >
|
||||||
<!--
|
<!--
|
||||||
<compilerarg value="-Xlint" />
|
<compilerarg value="-Xlint" />
|
||||||
-->
|
-->
|
||||||
|
<classpath refid="@{os}.classpath" />
|
||||||
</javac>
|
</javac>
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
Loading…
Reference in New Issue