2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Configuration.Install / System.Configuration.Install.build
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <!-- NAnt build file for System.Configuration.Install.dll -->
4
5 <project name="System.Configuration.install" default="build">
6         <property name="debug" value="true"/>
7
8         <target name="build">
9                 <mkdir dir="../lib"/>
10                 <csc target="library" output="../lib/System.Configuration.Install.dll" debug="${debug}">
11                         <arg value="/noconfig"/>        <!-- don't reference ms assemblies -->
12                         <arg value="/lib:../lib/"/>
13                         
14                         <!-- cor compare dies with these currently -->
15                         <!--arg value="/nostdlib"/-->   <!-- don't reference mscorlib -->
16                         <arg value="/r:corlib.dll"/>
17                         <sources>
18                                 <includes name="**/*.cs"/> 
19                                 <excludes name="Test/**"/>
20                         </sources>
21                 </csc>
22                 <copy file="../lib/System.Configuration.Install.dll" tofile="Test/System.Configuration.Install.dll"/>
23                 <nant basedir="Test" target="build"/>
24         </target>
25
26         <target name="test" depends="build">
27                 <nant basedir="Test" target="test"/>
28         </target>
29
30         <target name="clean">
31                 <nant basedir="Test" target="clean"/>
32                 <delete file="../lib/System.dll" failonerror="false"/>
33         </target>
34 </project>