libsdl.md

Thu, 08 Apr 2021 13:27:32 +0200

author
David Demelier <markand@malikania.fr>
date
Thu, 08 Apr 2021 13:27:32 +0200
changeset 28
5209404a68ae
parent 22
a783a3fff834
permissions
-rw-r--r--

libsdl: update to 2.0.14

Build libsdl
============

Version:    2.0.14
Date:       20210408

Download
--------

- http://libsdl.org/release/SDL2-2.0.14.zip

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

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

Configure
---------

### Visual Studio (debug)

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

### Visual Studio (release)

    mkdir build
    cd build
    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