libpng.md

Thu, 08 Apr 2021 13:36:31 +0200

author
David Demelier <markand@malikania.fr>
date
Thu, 08 Apr 2021 13:36:31 +0200
changeset 29
6fbe1ed94439
parent 23
eb65d65a9828
permissions
-rw-r--r--

libpng: update to 1.6.37

Build libpng
============

Version:    1.6.37
Date:       20210408

Download
--------

  - http://prdownloads.sourceforge.net/libpng/lpng1635.zip?download

Dependencies
------------

  - [CMake](https://cmake.org).

Configure
---------

### Visual Studio (debug)

    cmake .
        -DCMAKE_BUILD_TYPE=Debug
        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
        -DBUILD_SHARED_LIBS=True
        -G"NMake Makefiles"

### Visual Studio (release)

    cmake .
        -DCMAKE_BUILD_TYPE=Release
        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
        -DBUILD_SHARED_LIBS=True
        -G"NMake Makefiles"

Build
-----

### Visual Studio

    nmake
    nmake install

mercurial