annotate src/zlib-1.2.7/contrib/dotzlib/DotZLib.build @ 79:91c729825bca
pa_catalina
Update build for AUDIO_COMPONENT_FIX
author |
Chris Cannam |
date |
Wed, 30 Oct 2019 12:40:34 +0000 |
parents |
e13257ea84a4 |
children |
|
rev |
line source |
Chris@4
|
1 <?xml version="1.0" encoding="utf-8" ?>
|
Chris@4
|
2 <project name="DotZLib" default="build" basedir="./DotZLib">
|
Chris@4
|
3 <description>A .Net wrapper library around ZLib1.dll</description>
|
Chris@4
|
4
|
Chris@4
|
5 <property name="nunit.location" value="c:/program files/NUnit V2.1/bin" />
|
Chris@4
|
6 <property name="build.root" value="bin" />
|
Chris@4
|
7
|
Chris@4
|
8 <property name="debug" value="true" />
|
Chris@4
|
9 <property name="nunit" value="true" />
|
Chris@4
|
10
|
Chris@4
|
11 <property name="build.folder" value="${build.root}/debug/" if="${debug}" />
|
Chris@4
|
12 <property name="build.folder" value="${build.root}/release/" unless="${debug}" />
|
Chris@4
|
13
|
Chris@4
|
14 <target name="clean" description="Remove all generated files">
|
Chris@4
|
15 <delete dir="${build.root}" failonerror="false" />
|
Chris@4
|
16 </target>
|
Chris@4
|
17
|
Chris@4
|
18 <target name="build" description="compiles the source code">
|
Chris@4
|
19
|
Chris@4
|
20 <mkdir dir="${build.folder}" />
|
Chris@4
|
21 <csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}">
|
Chris@4
|
22 <references basedir="${nunit.location}">
|
Chris@4
|
23 <includes if="${nunit}" name="nunit.framework.dll" />
|
Chris@4
|
24 </references>
|
Chris@4
|
25 <sources>
|
Chris@4
|
26 <includes name="*.cs" />
|
Chris@4
|
27 <excludes name="UnitTests.cs" unless="${nunit}" />
|
Chris@4
|
28 </sources>
|
Chris@4
|
29 <arg value="/d:nunit" if="${nunit}" />
|
Chris@4
|
30 </csc>
|
Chris@4
|
31 </target>
|
Chris@4
|
32
|
Chris@4
|
33 </project> |