1 1.1 christos This directory contains a .Net wrapper class library for the ZLib1.dll 2 1.1 christos 3 1.1.1.2 christos The wrapper includes support for inflating/deflating memory buffers, 4 1.1 christos .Net streaming wrappers for the gz streams part of zlib, and wrappers 5 1.1 christos for the checksum parts of zlib. See DotZLib/UnitTests.cs for examples. 6 1.1 christos 7 1.1 christos Directory structure: 8 1.1 christos -------------------- 9 1.1 christos 10 1.1 christos LICENSE_1_0.txt - License file. 11 1.1 christos readme.txt - This file. 12 1.1 christos DotZLib.chm - Class library documentation 13 1.1 christos DotZLib.build - NAnt build file 14 1.1 christos DotZLib.sln - Microsoft Visual Studio 2003 solution file 15 1.1 christos 16 1.1 christos DotZLib\*.cs - Source files for the class library 17 1.1 christos 18 1.1 christos Unit tests: 19 1.1 christos ----------- 20 1.1 christos The file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher. 21 1.1 christos To include unit tests in the build, define nunit before building. 22 1.1 christos 23 1.1 christos 24 1.1 christos Build instructions: 25 1.1 christos ------------------- 26 1.1 christos 27 1.1 christos 1. Using Visual Studio.Net 2003: 28 1.1 christos Open DotZLib.sln in VS.Net and build from there. Output file (DotZLib.dll) 29 1.1.1.2 christos will be found ./DotZLib/bin/release or ./DotZLib/bin/debug, depending on 30 1.1.1.2 christos you are building the release or debug version of the library. Check 31 1.1 christos DotZLib/UnitTests.cs for instructions on how to include unit tests in the 32 1.1 christos build. 33 1.1.1.2 christos 34 1.1 christos 2. Using NAnt: 35 1.1 christos Open a command prompt with access to the build environment and run nant 36 1.1 christos in the same directory as the DotZLib.build file. 37 1.1 christos You can define 2 properties on the nant command-line to control the build: 38 1.1 christos debug={true|false} to toggle between release/debug builds (default=true). 39 1.1.1.3 christos nunit={true|false} to include or exclude unit tests (default=true). 40 1.1 christos Also the target clean will remove binaries. 41 1.1.1.2 christos Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release 42 1.1.1.2 christos or ./DotZLib/bin/debug, depending on whether you are building the release 43 1.1 christos or debug version of the library. 44 1.1 christos 45 1.1.1.2 christos Examples: 46 1.1 christos nant -D:debug=false -D:nunit=false 47 1.1 christos will build a release mode version of the library without unit tests. 48 1.1 christos nant 49 1.1.1.2 christos will build a debug version of the library with unit tests 50 1.1 christos nant clean 51 1.1 christos will remove all previously built files. 52 1.1 christos 53 1.1 christos 54 1.1 christos --------------------------------- 55 1.1 christos Copyright (c) Henrik Ravn 2004 56 1.1 christos 57 1.1.1.2 christos Use, modification and distribution are subject to the Boost Software License, Version 1.0. 58 1.1 christos (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 59