1275793eaSopenharmony_ciThis directory contains a .Net wrapper class library for the ZLib1.dll 2275793eaSopenharmony_ci 3275793eaSopenharmony_ciThe wrapper includes support for inflating/deflating memory buffers, 4275793eaSopenharmony_ci.Net streaming wrappers for the gz streams part of zlib, and wrappers 5275793eaSopenharmony_cifor the checksum parts of zlib. See DotZLib/UnitTests.cs for examples. 6275793eaSopenharmony_ci 7275793eaSopenharmony_ciDirectory structure: 8275793eaSopenharmony_ci-------------------- 9275793eaSopenharmony_ci 10275793eaSopenharmony_ciLICENSE_1_0.txt - License file. 11275793eaSopenharmony_cireadme.txt - This file. 12275793eaSopenharmony_ciDotZLib.chm - Class library documentation 13275793eaSopenharmony_ciDotZLib.build - NAnt build file 14275793eaSopenharmony_ciDotZLib.sln - Microsoft Visual Studio 2003 solution file 15275793eaSopenharmony_ci 16275793eaSopenharmony_ciDotZLib\*.cs - Source files for the class library 17275793eaSopenharmony_ci 18275793eaSopenharmony_ciUnit tests: 19275793eaSopenharmony_ci----------- 20275793eaSopenharmony_ciThe file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher. 21275793eaSopenharmony_ciTo include unit tests in the build, define nunit before building. 22275793eaSopenharmony_ci 23275793eaSopenharmony_ci 24275793eaSopenharmony_ciBuild instructions: 25275793eaSopenharmony_ci------------------- 26275793eaSopenharmony_ci 27275793eaSopenharmony_ci1. Using Visual Studio.Net 2003: 28275793eaSopenharmony_ci Open DotZLib.sln in VS.Net and build from there. Output file (DotZLib.dll) 29275793eaSopenharmony_ci will be found ./DotZLib/bin/release or ./DotZLib/bin/debug, depending on 30275793eaSopenharmony_ci you are building the release or debug version of the library. Check 31275793eaSopenharmony_ci DotZLib/UnitTests.cs for instructions on how to include unit tests in the 32275793eaSopenharmony_ci build. 33275793eaSopenharmony_ci 34275793eaSopenharmony_ci2. Using NAnt: 35275793eaSopenharmony_ci Open a command prompt with access to the build environment and run nant 36275793eaSopenharmony_ci in the same directory as the DotZLib.build file. 37275793eaSopenharmony_ci You can define 2 properties on the nant command-line to control the build: 38275793eaSopenharmony_ci debug={true|false} to toggle between release/debug builds (default=true). 39275793eaSopenharmony_ci nunit={true|false} to include or exclude unit tests (default=true). 40275793eaSopenharmony_ci Also the target clean will remove binaries. 41275793eaSopenharmony_ci Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release 42275793eaSopenharmony_ci or ./DotZLib/bin/debug, depending on whether you are building the release 43275793eaSopenharmony_ci or debug version of the library. 44275793eaSopenharmony_ci 45275793eaSopenharmony_ci Examples: 46275793eaSopenharmony_ci nant -D:debug=false -D:nunit=false 47275793eaSopenharmony_ci will build a release mode version of the library without unit tests. 48275793eaSopenharmony_ci nant 49275793eaSopenharmony_ci will build a debug version of the library with unit tests 50275793eaSopenharmony_ci nant clean 51275793eaSopenharmony_ci will remove all previously built files. 52275793eaSopenharmony_ci 53275793eaSopenharmony_ci 54275793eaSopenharmony_ci--------------------------------- 55275793eaSopenharmony_ciCopyright (c) Henrik Ravn 2004 56275793eaSopenharmony_ci 57275793eaSopenharmony_ciUse, modification and distribution are subject to the Boost Software License, Version 1.0. 58275793eaSopenharmony_ci(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 59