]>
Commit | Line | Data |
---|---|---|
1 | Microsoft Developer Studio Project File, Format Version 7.10 for libpng. | |
2 | ||
3 | Copyright (C) 2004 Simon-Pierre Cadieux. | |
4 | For conditions of distribution and use, see copyright notice in png.h | |
5 | ||
6 | Assumptions: | |
7 | * The libpng source files are in ..\.. | |
8 | * The zlib source files are in ..\..\..\zlib | |
9 | * The zlib project file is in . /* Warning: This is until the zlib project | |
10 | files get intergrated into the next zlib release. The final zlib project | |
11 | directory will then be ..\..\..\zlib\projects\visualc71. */ | |
12 | ||
13 | To use: | |
14 | ||
15 | 1) On the main menu, select "File | Open Solution". | |
16 | Open "libpng.sln". | |
17 | ||
18 | 2) Display the Solution Explorer view (Ctrl+Alt+L) | |
19 | ||
20 | 3) Set one of the project as the StartUp project. If you just want to build the | |
21 | binaries set "libpng" as the startup project (Select "libpng" tree view | |
22 | item + Project | Set as StartUp project). If you want to build and test the | |
23 | binaries set it to "pngtest" (Select "pngtest" tree view item + | |
24 | Project | Set as StartUp project) | |
25 | ||
26 | 4) Select "Build | Configuration Manager...". | |
27 | Choose the configuration you wish to build. | |
28 | ||
29 | 5) Select "Build | Clean Solution". | |
30 | ||
31 | 6) Select "Build | Build Solution (Ctrl-Shift-B)" | |
32 | ||
33 | This project builds the libpng binaries as follows: | |
34 | ||
35 | * Win32_DLL_Release\libpng13.dll DLL build | |
36 | * Win32_DLL_Debug\libpng13d.dll DLL build (debug version) | |
37 | * Win32_DLL_ASM_Release\libpng13.dll DLL build using ASM code | |
38 | * Win32_DLL_ASM_Debug\libpng13d.dll DLL build using ASM (debug version) | |
39 | * Win32_DLL_VB\libpng13vb.dll DLL build for Visual Basic, using stdcall | |
40 | * Win32_LIB_Release\libpng.lib static build | |
41 | * Win32_LIB_Debug\libpngd.lib static build (debug version) | |
42 | * Win32_LIB_ASM_Release\libpng.lib static build using ASM code | |
43 | * Win32_LIB_ASM_Debug\libpngd.lib static build using ASM (debug version) | |
44 | ||
45 | Notes: | |
46 | ||
47 | If you change anything in the source files, or select different compiler | |
48 | settings, please change the DLL name to something different than any of | |
49 | the above names. Also, make sure that in your "pngusr.h" you define | |
50 | PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the | |
51 | instructions provided in "pngconf.h". | |
52 | ||
53 | All DLLs built by this project use the Microsoft dynamic C runtime library | |
54 | MSVCR71.DLL (MSVCR71D.DLL for debug versions). If you distribute any of the | |
55 | above mentioned libraries you may have to include this DLL in your package. | |
56 | For a list of files that are redistributable in Visual Studio see | |
57 | $(VCINSTALLDIR)\redist.txt. |