libsdl: initial import

Wed, 21 Nov 2018 21:26:07 +0100

author
David Demelier <markand@malikania.fr>
date
Wed, 21 Nov 2018 21:26:07 +0100
changeset 21
558aeb605686
parent 20
24c3ed919c89
child 22
a783a3fff834

libsdl: initial import

libsdl.md file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libsdl.md	Wed Nov 21 21:26:07 2018 +0100
@@ -0,0 +1,61 @@
+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"
+
+### MinGW
+
+    mkdir build
+    cd build
+    cmake ..
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/mingw
+        -DBUILD_SHARED_LIBS=True
+        -G"MinGW Makefiles"
+
+Build
+-----
+
+### Visual Studio
+
+    nmake
+    nmake install
+
+### MinGW
+
+    mingw32-make
+    mingw32-make install
\ No newline at end of file

mercurial