Mercurial > hg > sv-dependency-builds
annotate src/zlib-1.2.8/contrib/dotzlib/DotZLib.build @ 56:af97cad61ff0
Add updated build of PortAudio for OSX
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 03 Jan 2017 15:10:52 +0000 |
parents | 5ea0608b923f |
children |
rev | line source |
---|---|
Chris@43 | 1 <?xml version="1.0" encoding="utf-8" ?> |
Chris@43 | 2 <project name="DotZLib" default="build" basedir="./DotZLib"> |
Chris@43 | 3 <description>A .Net wrapper library around ZLib1.dll</description> |
Chris@43 | 4 |
Chris@43 | 5 <property name="nunit.location" value="c:/program files/NUnit V2.1/bin" /> |
Chris@43 | 6 <property name="build.root" value="bin" /> |
Chris@43 | 7 |
Chris@43 | 8 <property name="debug" value="true" /> |
Chris@43 | 9 <property name="nunit" value="true" /> |
Chris@43 | 10 |
Chris@43 | 11 <property name="build.folder" value="${build.root}/debug/" if="${debug}" /> |
Chris@43 | 12 <property name="build.folder" value="${build.root}/release/" unless="${debug}" /> |
Chris@43 | 13 |
Chris@43 | 14 <target name="clean" description="Remove all generated files"> |
Chris@43 | 15 <delete dir="${build.root}" failonerror="false" /> |
Chris@43 | 16 </target> |
Chris@43 | 17 |
Chris@43 | 18 <target name="build" description="compiles the source code"> |
Chris@43 | 19 |
Chris@43 | 20 <mkdir dir="${build.folder}" /> |
Chris@43 | 21 <csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}"> |
Chris@43 | 22 <references basedir="${nunit.location}"> |
Chris@43 | 23 <includes if="${nunit}" name="nunit.framework.dll" /> |
Chris@43 | 24 </references> |
Chris@43 | 25 <sources> |
Chris@43 | 26 <includes name="*.cs" /> |
Chris@43 | 27 <excludes name="UnitTests.cs" unless="${nunit}" /> |
Chris@43 | 28 </sources> |
Chris@43 | 29 <arg value="/d:nunit" if="${nunit}" /> |
Chris@43 | 30 </csc> |
Chris@43 | 31 </target> |
Chris@43 | 32 |
Chris@43 | 33 </project> |