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

21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 Build libsdl
22
a783a3fff834 misc: cleanup
David Demelier <markand@malikania.fr>
parents: 21
diff changeset
2 ============
21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
3
28
5209404a68ae libsdl: update to 2.0.14
David Demelier <markand@malikania.fr>
parents: 22
diff changeset
4 Version: 2.0.14
5209404a68ae libsdl: update to 2.0.14
David Demelier <markand@malikania.fr>
parents: 22
diff changeset
5 Date: 20210408
21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
6
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 Download
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 --------
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
9
28
5209404a68ae libsdl: update to 2.0.14
David Demelier <markand@malikania.fr>
parents: 22
diff changeset
10 - http://libsdl.org/release/SDL2-2.0.14.zip
21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
11
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 Dependencies
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 ------------
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
14
22
a783a3fff834 misc: cleanup
David Demelier <markand@malikania.fr>
parents: 21
diff changeset
15 - [CMake](https://cmake.org).
21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
16
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 Configure
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 ---------
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
19
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 ### Visual Studio (debug)
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
21
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 mkdir build
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 cd build
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
24 cmake ..
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 -DCMAKE_BUILD_TYPE=Debug
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
27 -DBUILD_SHARED_LIBS=True
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 -G"NMake Makefiles"
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
29
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
30 ### Visual Studio (release)
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
31
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
32 mkdir build
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 cd build
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
34 cmake ..
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
35 -DCMAKE_BUILD_TYPE=Release
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
36 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
37 -DBUILD_SHARED_LIBS=True
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
38 -G"NMake Makefiles"
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
39
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
40 Build
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
41 -----
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
42
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
43 ### Visual Studio
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
44
558aeb605686 libsdl: initial import
David Demelier <markand@malikania.fr>
parents:
diff changeset
45 nmake
28
5209404a68ae libsdl: update to 2.0.14
David Demelier <markand@malikania.fr>
parents: 22
diff changeset
46 nmake install

mercurial