Imported Upstream version 1.6.13
[platform/upstream/libpng.git] / projects / vstudio / WARNING
1 WARNING
2 =======
3 Libpng 1.6 does not use the default run-time library when building static
4 library builds of libpng; instead of the shared DLL runtime it uses a static
5 runtime.  If you need to change this make sure to change the setting on all the
6 relevant projects:
7
8 libpng
9 zlib
10 all the test programs
11
12 The runtime library settings for each build are as follows:
13
14            Release        Debug
15 DLL         /MD            /MDd
16 Library     /MT            /MTd
17
18 NOTICE that libpng 1.5 erroneously used /MD for Debug DLL builds; if you used
19 the debug builds in your app and you changed your app to use /MD you will need
20 to change it to /MDd for libpng 1.6.
21
22 The Visual Studio 2010 defaults for a Win32 DLL or Static Library project are
23 as follows:
24
25                  Release     Debug
26 DLL               /MD         /MDd
27 Static Library    /MD         /MDd