Welcome to mirror list, hosted at ThFree Co, Russian Federation.

System.build « System « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2473c69866ed74c43d50ee2042642ae8d7dba95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="iso-8859-1"?>

<!-- NAnt build file for System.dll -->

<project name="System" default="build">
	<property name="debug" value="false"/>

	<target name="build">
		<mkdir dir="../lib"/>
		<csc target="library" output="../lib/System.dll" debug="${debug}">
			<arg value="/nowarn:1595"/>
			<arg value="/unsafe"/>
			<arg value="/noconfig"/>	<!-- don't reference ms assemblies -->
			<arg value="/lib:../lib/"/>
			
			<!-- cor compare dies with these currently -->
			<!--arg value="/nostdlib"/--> 	<!-- don't reference mscorlib -->
			<!--arg value="/r:corlib.dll"/-->
			<arg value="/r:System.Xml.dll"/>
			<sources>
				<includes name="**/*.cs"/> 
				<excludes name="Test/**"/>
				<excludes name="System.CodeDom/Code-X-Collection.cs"/>
				<excludes name="System.Net/IAuthenticationModule.cs"/>
				<excludes name="System.Net/AuthenticationManager.cs"/>
			</sources>
		</csc>
		<copy file="../lib/System.dll" tofile="Test/System.dll"/>
		<nant basedir="Test" target="build"/>
	</target>

	<target name="test" depends="build">
		<nant basedir="Test" target="test"/>
	</target>

	<target name="clean">
		<nant basedir="Test" target="clean"/>
		<delete file="../lib/System.dll" failonerror="false"/>
	</target>
</project>