Changed the default build target to managed and split the clean target into managed and native.

This commit is contained in:
jfrijters 2010-08-23 04:26:41 +00:00
Родитель 357bcd9338
Коммит 49275c625e
1 изменённых файлов: 15 добавлений и 9 удалений

Просмотреть файл

@ -1,17 +1,16 @@
<?xml version="1.0"?>
<project name="ikvm" default="all">
<project name="ikvm" default="managed">
<include buildfile="ikvm.include" />
<target name="native">
<nant buildfile="native/native.build" />
</target>
<target name="signed">
<property name="signed" value="SIGNCODE" />
<property name="signoption" value="-key:ikvm-key" />
<property name="ilasm_signoption" value="/key:@ikvm-key" />
<call target="all" />
<call target="managed" />
</target>
<target name="all" depends="clean native managed" />
<target name="native">
<nant buildfile="native/native.build" />
</target>
<target name="managed" depends="CommonAssemblyInfo">
<target name="managed" depends="clean-managed CommonAssemblyInfo">
<nant buildfile="tools/tools.build" />
<nant buildfile="runtime/runtime.build" target="first-pass" />
<nant buildfile="awt/awt.build" target="first-pass" />
@ -34,7 +33,8 @@
</filterchain>
</copy>
</target>
<target name="clean">
<target name="clean" depends="clean-managed clean-native" />
<target name="clean-managed">
<delete failonerror="false">
<fileset>
<include name="bin/IKVM.AWT.WinForms.dll" />
@ -42,7 +42,6 @@
<include name="bin/IKVM.Runtime.dll" />
<include name="bin/IKVM.Runtime.JNI.dll" />
<include name="bin/IKVM.OpenJDK.*.dll" />
<include name="bin/libikvm-native.so" />
<include name="bin/ikvm.exe" />
<include name="bin/ikvmc.exe" />
<include name="bin/ikvmstub.exe" />
@ -64,6 +63,13 @@
<include name="tools/pubkey.exe" />
<include name="tools/pubkey.txt" />
<include name="tools/updbaseaddresses.exe" />
</fileset>
</delete>
</target>
<target name="clean-native">
<delete failonerror="false">
<fileset>
<include name="bin/libikvm-native.so" />
<include name="native/Release-x64/ikvm-native.dll" />
<include name="native/Release-x64/*.obj" />
<include name="native/Release-x86/ikvm-native.dll" />