Mercurial > devkit
comparison libpng.md @ 23:eb65d65a9828
misc: import many new libraries
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 23 Nov 2018 12:44:02 +0100 |
parents | |
children | 6fbe1ed94439 |
comparison
equal
deleted
inserted
replaced
22:a783a3fff834 | 23:eb65d65a9828 |
---|---|
1 Build libpng | |
2 ============ | |
3 | |
4 Version: 1.6.35 | |
5 Date: 20181113 | |
6 | |
7 Download | |
8 -------- | |
9 | |
10 - http://prdownloads.sourceforge.net/libpng/lpng1635.zip?download | |
11 | |
12 Dependencies | |
13 ------------ | |
14 | |
15 - [CMake](https://cmake.org). | |
16 | |
17 Configure | |
18 --------- | |
19 | |
20 ### Visual Studio (debug) | |
21 | |
22 cmake . | |
23 -DCMAKE_BUILD_TYPE=Debug | |
24 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug | |
25 -DBUILD_SHARED_LIBS=True | |
26 -G"NMake Makefiles" | |
27 | |
28 ### Visual Studio (release) | |
29 | |
30 cmake . | |
31 -DCMAKE_BUILD_TYPE=Release | |
32 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release | |
33 -DBUILD_SHARED_LIBS=True | |
34 -G"NMake Makefiles" | |
35 | |
36 Build | |
37 ----- | |
38 | |
39 ### Visual Studio | |
40 | |
41 nmake | |
42 nmake install |