libsdl.md

Fri, 23 Nov 2018 12:39:55 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 23 Nov 2018 12:39:55 +0100
changeset 22
a783a3fff834
parent 21
558aeb605686
child 28
5209404a68ae
permissions
-rw-r--r--

misc: cleanup

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

Version:    2.0.9
Date:       20181113

Download
--------

- http://libsdl.org/release/SDL2-2.0.9.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