kusano fc6ab3

kusano fc6ab3
<project basedir="./DotZLib" default="build" name="DotZLib"></project>
kusano fc6ab3
	<description>A .Net wrapper library around ZLib1.dll</description>
kusano fc6ab3
kusano fc6ab3
	<property name="nunit.location" value="c:/program files/NUnit V2.1/bin"></property>
kusano fc6ab3
	<property name="build.root" value="bin"></property>
kusano fc6ab3
kusano fc6ab3
	<property name="debug" value="true"></property>
kusano fc6ab3
	<property name="nunit" value="true"></property>
kusano fc6ab3
kusano fc6ab3
	<property if="${debug}" name="build.folder" value="${build.root}/debug/"></property>
kusano fc6ab3
	<property name="build.folder" unless="${debug}" value="${build.root}/release/"></property>
kusano fc6ab3
kusano fc6ab3
	<target description="Remove all generated files" name="clean"></target>
kusano fc6ab3
		<delete dir="${build.root}" failonerror="false"></delete>
kusano fc6ab3
	
kusano fc6ab3
kusano fc6ab3
	<target description="compiles the source code" name="build"></target>
kusano fc6ab3
kusano fc6ab3
		<mkdir dir="${build.folder}"></mkdir>
kusano fc6ab3
		<csc debug="${debug}" output="${build.folder}DotZLib.dll" target="library"></csc>
kusano fc6ab3
			<references basedir="${nunit.location}"></references>
kusano fc6ab3
				<includes if="${nunit}" name="nunit.framework.dll"></includes>
kusano fc6ab3
			
kusano fc6ab3
			<sources></sources>
kusano fc6ab3
				<includes name="*.cs"></includes>
kusano fc6ab3
				<excludes name="UnitTests.cs" unless="${nunit}"></excludes>
kusano fc6ab3
			
kusano fc6ab3
			<arg if="${nunit}" value="/d:nunit"></arg>
kusano fc6ab3
		
kusano fc6ab3
	
kusano fc6ab3
kusano fc6ab3