annotate src/zlib-1.2.8/contrib/dotzlib/DotZLib.build @ 155:54abead6ecce

Opus for Windows (MSVC)
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 25 Jan 2019 12:15:58 +0000
parents 5b4145a0d408
children
rev   line source
cannam@128 1 <?xml version="1.0" encoding="utf-8" ?>
cannam@128 2 <project name="DotZLib" default="build" basedir="./DotZLib">
cannam@128 3 <description>A .Net wrapper library around ZLib1.dll</description>
cannam@128 4
cannam@128 5 <property name="nunit.location" value="c:/program files/NUnit V2.1/bin" />
cannam@128 6 <property name="build.root" value="bin" />
cannam@128 7
cannam@128 8 <property name="debug" value="true" />
cannam@128 9 <property name="nunit" value="true" />
cannam@128 10
cannam@128 11 <property name="build.folder" value="${build.root}/debug/" if="${debug}" />
cannam@128 12 <property name="build.folder" value="${build.root}/release/" unless="${debug}" />
cannam@128 13
cannam@128 14 <target name="clean" description="Remove all generated files">
cannam@128 15 <delete dir="${build.root}" failonerror="false" />
cannam@128 16 </target>
cannam@128 17
cannam@128 18 <target name="build" description="compiles the source code">
cannam@128 19
cannam@128 20 <mkdir dir="${build.folder}" />
cannam@128 21 <csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}">
cannam@128 22 <references basedir="${nunit.location}">
cannam@128 23 <includes if="${nunit}" name="nunit.framework.dll" />
cannam@128 24 </references>
cannam@128 25 <sources>
cannam@128 26 <includes name="*.cs" />
cannam@128 27 <excludes name="UnitTests.cs" unless="${nunit}" />
cannam@128 28 </sources>
cannam@128 29 <arg value="/d:nunit" if="${nunit}" />
cannam@128 30 </csc>
cannam@128 31 </target>
cannam@128 32
cannam@128 33 </project>