~ubuntu-branches/ubuntu/utopic/critcl/utopic

« back to all changes in this revision

Viewing changes to examples/zlibwrap/zlib/contrib/dotzlib/DotZLib.build

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-05-11 00:08:06 UTC
  • Revision ID: package-import@ubuntu.com-20130511000806-7hq1zc3fnn0gat79
Tags: upstream-3.1.9
Import upstream version 3.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8" ?>
 
2
<project name="DotZLib" default="build" basedir="./DotZLib">
 
3
        <description>A .Net wrapper library around ZLib1.dll</description>
 
4
 
 
5
        <property name="nunit.location" value="c:/program files/NUnit V2.1/bin" />
 
6
        <property name="build.root" value="bin" />
 
7
 
 
8
        <property name="debug" value="true" />
 
9
        <property name="nunit" value="true" />
 
10
 
 
11
        <property name="build.folder" value="${build.root}/debug/" if="${debug}" />
 
12
        <property name="build.folder" value="${build.root}/release/" unless="${debug}" />
 
13
 
 
14
        <target name="clean" description="Remove all generated files">
 
15
                <delete dir="${build.root}" failonerror="false" />
 
16
        </target>
 
17
 
 
18
        <target name="build" description="compiles the source code">
 
19
 
 
20
                <mkdir dir="${build.folder}" />
 
21
                <csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}">
 
22
                        <references basedir="${nunit.location}">
 
23
                                <includes if="${nunit}" name="nunit.framework.dll" />
 
24
                        </references>
 
25
                        <sources>
 
26
                                <includes name="*.cs" />
 
27
                                <excludes name="UnitTests.cs" unless="${nunit}" />
 
28
                        </sources>
 
29
                        <arg value="/d:nunit" if="${nunit}" />
 
30
                </csc>
 
31
        </target>
 
32
 
 
33
</project>
 
 
b'\\ No newline at end of file'