blob: 4e1c8fa1c5197eaed1e7e341e4c49973457681fd [file] [log] [blame]
The Android Open Source Project893912b2009-03-03 19:30:05 -08001Microsoft Developer Studio Project File, Format Version 7.10 for libpng.
2
3Copyright (C) 2004 Simon-Pierre Cadieux.
Chris Craikca2bf812013-07-29 15:28:30 -07004
5This code is released under the libpng license.
The Android Open Source Project893912b2009-03-03 19:30:05 -08006For conditions of distribution and use, see copyright notice in png.h
7
Chris Craikca2bf812013-07-29 15:28:30 -07008NOTE: This project will be removed from libpng-1.5.0. It has
9been replaced with the "vstudio" project.
10
The Android Open Source Project893912b2009-03-03 19:30:05 -080011Assumptions:
12* The libpng source files are in ..\..
13* The zlib source files are in ..\..\..\zlib
14* The zlib project file is in . /* Warning: This is until the zlib project
xNombred07bb0d2020-03-10 20:17:12 +010015 files get integrated into the next zlib release. The final zlib project
The Android Open Source Project893912b2009-03-03 19:30:05 -080016 directory will then be ..\..\..\zlib\projects\visualc71. */
17
18To use:
19
201) On the main menu, select "File | Open Solution".
21 Open "libpng.sln".
22
232) Display the Solution Explorer view (Ctrl+Alt+L)
24
253) Set one of the project as the StartUp project. If you just want to build the
26 binaries set "libpng" as the startup project (Select "libpng" tree view
27 item + Project | Set as StartUp project). If you want to build and test the
28 binaries set it to "pngtest" (Select "pngtest" tree view item +
29 Project | Set as StartUp project)
30
314) Select "Build | Configuration Manager...".
32 Choose the configuration you wish to build.
33
345) Select "Build | Clean Solution".
35
366) Select "Build | Build Solution (Ctrl-Shift-B)"
37
38This project builds the libpng binaries as follows:
39
Chris Craikca2bf812013-07-29 15:28:30 -070040* Win32_DLL_Release\libpng16.dll DLL build
41* Win32_DLL_Debug\libpng16d.dll DLL build (debug version)
42* Win32_DLL_VB\libpng16vb.dll DLL build for Visual Basic, using stdcall
The Android Open Source Project893912b2009-03-03 19:30:05 -080043* Win32_LIB_Release\libpng.lib static build
44* Win32_LIB_Debug\libpngd.lib static build (debug version)
The Android Open Source Project893912b2009-03-03 19:30:05 -080045
46Notes:
47
48If you change anything in the source files, or select different compiler
49settings, please change the DLL name to something different than any of
50the above names. Also, make sure that in your "pngusr.h" you define
51PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the
52instructions provided in "pngconf.h".
53
54All DLLs built by this project use the Microsoft dynamic C runtime library
55MSVCR71.DLL (MSVCR71D.DLL for debug versions). If you distribute any of the
56above mentioned libraries you may have to include this DLL in your package.
57For a list of files that are redistributable in Visual Studio see
58$(VCINSTALLDIR)\redist.txt.