kusano 7d535a
This directory contains a .Net wrapper class library for the ZLib1.dll
kusano 7d535a
kusano 7d535a
The wrapper includes support for inflating/deflating memory buffers,
kusano 7d535a
.Net streaming wrappers for the gz streams part of zlib, and wrappers
kusano 7d535a
for the checksum parts of zlib. See DotZLib/UnitTests.cs for examples.
kusano 7d535a
kusano 7d535a
Directory structure:
kusano 7d535a
--------------------
kusano 7d535a
kusano 7d535a
LICENSE_1_0.txt       - License file.
kusano 7d535a
readme.txt            - This file.
kusano 7d535a
DotZLib.chm           - Class library documentation
kusano 7d535a
DotZLib.build         - NAnt build file
kusano 7d535a
DotZLib.sln           - Microsoft Visual Studio 2003 solution file
kusano 7d535a
kusano 7d535a
DotZLib\*.cs          - Source files for the class library
kusano 7d535a
kusano 7d535a
Unit tests:
kusano 7d535a
-----------
kusano 7d535a
The file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher.
kusano 7d535a
To include unit tests in the build, define nunit before building.
kusano 7d535a
kusano 7d535a
kusano 7d535a
Build instructions:
kusano 7d535a
-------------------
kusano 7d535a
kusano 7d535a
1. Using Visual Studio.Net 2003:
kusano 7d535a
   Open DotZLib.sln in VS.Net and build from there. Output file (DotZLib.dll)
kusano 7d535a
   will be found ./DotZLib/bin/release or ./DotZLib/bin/debug, depending on
kusano 7d535a
   you are building the release or debug version of the library. Check
kusano 7d535a
   DotZLib/UnitTests.cs for instructions on how to include unit tests in the
kusano 7d535a
   build.
kusano 7d535a
kusano 7d535a
2. Using NAnt:
kusano 7d535a
   Open a command prompt with access to the build environment and run nant
kusano 7d535a
   in the same directory as the DotZLib.build file.
kusano 7d535a
   You can define 2 properties on the nant command-line to control the build:
kusano 7d535a
   debug={true|false} to toggle between release/debug builds (default=true).
kusano 7d535a
   nunit={true|false} to include or esclude unit tests (default=true).
kusano 7d535a
   Also the target clean will remove binaries.
kusano 7d535a
   Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release
kusano 7d535a
   or ./DotZLib/bin/debug, depending on whether you are building the release
kusano 7d535a
   or debug version of the library.
kusano 7d535a
kusano 7d535a
   Examples:
kusano 7d535a
     nant -D:debug=false -D:nunit=false
kusano 7d535a
       will build a release mode version of the library without unit tests.
kusano 7d535a
     nant
kusano 7d535a
       will build a debug version of the library with unit tests
kusano 7d535a
     nant clean
kusano 7d535a
       will remove all previously built files.
kusano 7d535a
kusano 7d535a
kusano 7d535a
---------------------------------
kusano 7d535a
Copyright (c) Henrik Ravn 2004
kusano 7d535a
kusano 7d535a
Use, modification and distribution are subject to the Boost Software License, Version 1.0.
kusano 7d535a
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)