aboutsummaryrefslogtreecommitdiff
path: root/zlib/contrib/dotzlib/DotZLib.build
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-13 10:40:33 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-26 08:25:29 -0700
commit5ca28f792883afb409ae145666fc3662c3a3aed5 (patch)
treec7e7f508b52bdf5c6a1162cd30241275bbb89fd2 /zlib/contrib/dotzlib/DotZLib.build
parentb19a8f8545100a08ee2a64c05631aff6f651faa1 (diff)
downloadbinutils-5ca28f792883afb409ae145666fc3662c3a3aed5.zip
binutils-5ca28f792883afb409ae145666fc3662c3a3aed5.tar.gz
binutils-5ca28f792883afb409ae145666fc3662c3a3aed5.tar.bz2
Import zlib from GCC
Diffstat (limited to 'zlib/contrib/dotzlib/DotZLib.build')
-rw-r--r--zlib/contrib/dotzlib/DotZLib.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/zlib/contrib/dotzlib/DotZLib.build b/zlib/contrib/dotzlib/DotZLib.build
new file mode 100644
index 0000000..7f90d6b
--- /dev/null
+++ b/zlib/contrib/dotzlib/DotZLib.build
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="DotZLib" default="build" basedir="./DotZLib">
+ <description>A .Net wrapper library around ZLib1.dll</description>
+
+ <property name="nunit.location" value="c:/program files/NUnit V2.1/bin" />
+ <property name="build.root" value="bin" />
+
+ <property name="debug" value="true" />
+ <property name="nunit" value="true" />
+
+ <property name="build.folder" value="${build.root}/debug/" if="${debug}" />
+ <property name="build.folder" value="${build.root}/release/" unless="${debug}" />
+
+ <target name="clean" description="Remove all generated files">
+ <delete dir="${build.root}" failonerror="false" />
+ </target>
+
+ <target name="build" description="compiles the source code">
+
+ <mkdir dir="${build.folder}" />
+ <csc target="library" output="${build.folder}DotZLib.dll" debug="${debug}">
+ <references basedir="${nunit.location}">
+ <includes if="${nunit}" name="nunit.framework.dll" />
+ </references>
+ <sources>
+ <includes name="*.cs" />
+ <excludes name="UnitTests.cs" unless="${nunit}" />
+ </sources>
+ <arg value="/d:nunit" if="${nunit}" />
+ </csc>
+ </target>
+
+</project> \ No newline at end of file