README.txt 2.4 KB

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