1275793eaSopenharmony_ci<?xml version="1.0" encoding="utf-8" ?>
2275793eaSopenharmony_ci<project name="DotZLib" default="build" basedir="./DotZLib">
3275793eaSopenharmony_ci	<description>A .Net wrapper library around ZLib1.dll</description>
4275793eaSopenharmony_ci
5275793eaSopenharmony_ci	<property name="nunit.location" value="c:/program files/NUnit V2.1/bin" />
6275793eaSopenharmony_ci	<property name="build.root" value="bin" />
7275793eaSopenharmony_ci
8275793eaSopenharmony_ci	<property name="debug" value="true" />
9275793eaSopenharmony_ci	<property name="nunit" value="true" />
10275793eaSopenharmony_ci
11275793eaSopenharmony_ci	<property name="build.folder" value="${build.root}/debug/" if="${debug}" />
12275793eaSopenharmony_ci	<property name="build.folder" value="${build.root}/release/" unless="${debug}" />
13275793eaSopenharmony_ci
14275793eaSopenharmony_ci	<target name="clean" description="Remove all generated files">
15275793eaSopenharmony_ci		<delete dir="${build.root}" failonerror="false" />
16275793eaSopenharmony_ci	</target>
17275793eaSopenharmony_ci
18275793eaSopenharmony_ci	<target name="build" description="compiles the source code">
19275793eaSopenharmony_ci
20275793eaSopenharmony_ci		<mkdir dir="${build.folder}" />
21275793eaSopenharmony_ci		<csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}">
22275793eaSopenharmony_ci			<references basedir="${nunit.location}">
23275793eaSopenharmony_ci				<includes if="${nunit}" name="nunit.framework.dll" />
24275793eaSopenharmony_ci			</references>
25275793eaSopenharmony_ci			<sources>
26275793eaSopenharmony_ci				<includes name="*.cs" />
27275793eaSopenharmony_ci				<excludes name="UnitTests.cs" unless="${nunit}" />
28275793eaSopenharmony_ci			</sources>
29275793eaSopenharmony_ci			<arg value="/d:nunit" if="${nunit}" />
30275793eaSopenharmony_ci		</csc>
31275793eaSopenharmony_ci	</target>
32275793eaSopenharmony_ci
33275793eaSopenharmony_ci</project>