2003-04-24 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / Mono.Security.Win32 / Mono.Security.Win32.build
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <!-- NAnt build file for Mono.Security.Win32.dll -->
4
5 <project name="Mono.Security.Win32" default="build">
6         <property name="debug" value="true"/>
7         <property name="verbose" value="true"/>
8
9         <target name="build">
10                 <csc target="library" output="../lib/Mono.Security.Win32.dll" debug="${debug}">
11                         <arg value="/nowarn:1595"/>
12                         <arg value="/nowarn:0649"/> <!-- field never assigned to -->
13                         <arg value="/nowarn:0169"/> <!-- field never used -->
14                         <arg value="/nowarn:0679"/> <!-- internal may be overriden -->
15                         <arg value="/unsafe"/>
16
17                         <sources>
18                                 <includes name="**/*.cs"/>
19                                 <excludes name="Test/**"/>
20                         </sources>
21                 </csc>
22         </target>
23
24         <target name="test" depends="build">
25                 <nant basedir="Test" target="test"/>
26         </target>
27
28         <target name="clean">
29                 <delete file="../lib/Mono.Security.Win32.dll" failonerror="false"/>
30                 <delete file="../lib/Mono.Security.Win32.pdb" failonerror="false"/>
31                 <delete file="Test/Mono.Security.Win32.dll" failonerror="false"/>
32                 <nant basedir="Test" target="clean"/>
33         </target>
34 </project>