Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
[kai/samba-autobuild/.git] / lib / zlib / projects / visualc6 / README.txt
1 Microsoft Developer Studio Project Files, Format Version 6.00 for zlib.\r
2 \r
3 Copyright (C) 2000-2004 Simon-Pierre Cadieux.\r
4 Copyright (C) 2004 Cosmin Truta.\r
5 For conditions of distribution and use, see copyright notice in zlib.h.\r
6 \r
7 \r
8 This project builds the zlib binaries as follows:\r
9 \r
10 * Win32_DLL_Release\zlib1.dll       DLL build\r
11 * Win32_DLL_Debug\zlib1d.dll        DLL build (debug version)\r
12 * Win32_DLL_ASM_Release\zlib1.dll   DLL build using ASM code\r
13 * Win32_DLL_ASM_Debug\zlib1d.dll    DLL build using ASM code (debug version)\r
14 * Win32_LIB_Release\zlib.lib        static build\r
15 * Win32_LIB_Debug\zlibd.lib         static build (debug version)\r
16 * Win32_LIB_ASM_Release\zlib.lib    static build using ASM code\r
17 * Win32_LIB_ASM_Debug\zlibd.lib     static build using ASM code (debug version)\r
18 \r
19 \r
20 For more information regarding the DLL builds, please see the DLL FAQ\r
21 in ..\..\win32\DLL_FAQ.txt.\r
22 \r
23 \r
24 To build and test:\r
25 \r
26 1) On the main menu, select "File | Open Workspace".\r
27    Open "zlib.dsw".\r
28 \r
29 2) Select "Build | Set Active Configuration".\r
30    Choose the configuration you wish to build.\r
31 \r
32 3) Select "Build | Clean".\r
33 \r
34 4) Select "Build | Build ... (F7)".  Ignore warning messages about\r
35    not being able to find certain include files (e.g. alloc.h).\r
36 \r
37 5) If you built one of the sample programs (example or minigzip),\r
38    select "Build | Execute ... (Ctrl+F5)".\r
39 \r
40 \r
41 To use:\r
42 \r
43 1) Select "Project | Settings (Alt+F7)".\r
44    Make note of the configuration names used in your project.\r
45    Usually, these names are "Win32 Release" and "Win32 Debug".\r
46 \r
47 2) In the Workspace window, select the "FileView" tab.\r
48    Right-click on the root item "Workspace '...'".\r
49    Select "Insert Project into Workspace".\r
50    Switch on the checkbox "Dependency of:", and select the name\r
51    of your project.  Open "zlib.dsp".\r
52 \r
53 3) Select "Build | Configurations".\r
54    For each configuration of your project:\r
55    3.1) Choose the zlib configuration you wish to use.\r
56    3.2) Click on "Add".\r
57    3.3) Set the new zlib configuration name to the name used by\r
58         the configuration from the current iteration.\r
59 \r
60 4) Select "Build | Set Active Configuration".\r
61    Choose the configuration you wish to build.\r
62 \r
63 5) Select "Build | Build ... (F7)".\r
64 \r
65 6) If you built an executable program, select\r
66    "Build | Execute ... (Ctrl+F5)".\r
67 \r
68 \r
69 Note:\r
70 \r
71 To build the ASM-enabled code, you need Microsoft Assembler\r
72 (ML.EXE).  You can get it by downloading and installing the\r
73 latest Processor Pack for Visual C++ 6.0.\r