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

Microsoft.VisualBasic.build « Microsoft.VisualBasic « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc0ddd3e9616982bd99f7012682fa3e88078bee5 (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/Microsoft.VisualBasic.dll" debug="${debug}">
			<arg value="/nowarn:1595"/>
			<arg value="/noconfig"/>	<!-- don't reference ms assemblies -->
			
			<!-- cor compare dies with these currently -->
			<!--<arg value="/nostdlib"/>--> 	<!-- don't reference mscorlib -->
			<!--<arg value="/lib:../lib/"/>-->
			<!--<arg value="/r:..\lib\corlib.dll"/>-->
			<!--<arg value="/r:..\lib\System.dll"/>-->
			<arg value="/r:System.dll"/>
			<sources>
				<includes name="**/*.cs"/> 
				<excludes name="Test/**"/>
			</sources>
			<references>
				<!--<includes name="../lib/corlib.dll"/>-->
				<!--<includes name="../lib/System.dll"/>-->
			</references>
		</csc>
		<copy file="../lib/Microsoft.VisualBasic.dll" tofile="Test/Microsoft.VisualBasic.dll"/>
	</target>

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

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