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