1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for corlib.dll -->
4 <!-- Target windows builds libraries _for_ windows -->
5 <!-- Target linux builds libraries _for_ linux -->
7 <project name="corlib" default="linux">
8 <property name="debug" value="false"/>
10 <target name="windows">
12 <csc target="library" output="../lib/corlib.dll" debug="${debug}">
13 <arg value="/nowarn:1595"/>
14 <arg value="/unsafe"/>
16 <includes name="**/*.cs"/>
17 <excludes name="Test/**"/>
18 <excludes name="Linux/**"/>
19 <excludes name="System.PAL/IOperatingSystem.cs"/>
20 <excludes name="System.Collections/Queue.cs"/>
23 <nant basedir="Test" target="build"/>
28 <csc target="library" output="../lib/corlib.dll" debug="${debug}">
29 <arg value="/nowarn:1595"/>
30 <arg value="/unsafe"/>
32 <includes name="**/*.cs"/>
33 <excludes name="Test/**"/>
34 <excludes name="Windows/**"/>
35 <excludes name="System.PAL/IOperatingSystem.cs"/>
36 <excludes name="System.Collections/Queue.cs"/>
39 <nant basedir="Test" target="build"/>
43 <nant basedir="Test" target="test"/>
47 <delete file="../lib/corlib.dll" failonerror="false"/>
48 <nant basedir="Test" target="clean"/>