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