Mercurial > devkit
annotate libsdl.md @ 30:4a5873bf3284
libsdl-mixer: requires DLL_EXPORT
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 08 Apr 2021 14:01:31 +0200 |
parents | 5209404a68ae |
children | 0f3ecd3eca05 |
rev | line source |
---|---|
21 | 1 Build libsdl |
22 | 2 ============ |
21 | 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 | 6 |
7 Download | |
8 -------- | |
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 | 11 |
12 Dependencies | |
13 ------------ | |
14 | |
22 | 15 - [CMake](https://cmake.org). |
21 | 16 |
17 Configure | |
18 --------- | |
19 | |
20 ### Visual Studio (debug) | |
21 | |
22 mkdir build | |
23 cd build | |
24 cmake .. | |
25 -DCMAKE_BUILD_TYPE=Debug | |
26 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug | |
27 -DBUILD_SHARED_LIBS=True | |
28 -G"NMake Makefiles" | |
29 | |
30 ### Visual Studio (release) | |
31 | |
32 mkdir build | |
33 cd build | |
34 cmake .. | |
35 -DCMAKE_BUILD_TYPE=Release | |
36 -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release | |
37 -DBUILD_SHARED_LIBS=True | |
38 -G"NMake Makefiles" | |
39 | |
40 Build | |
41 ----- | |
42 | |
43 ### Visual Studio | |
44 | |
45 nmake | |
28
5209404a68ae
libsdl: update to 2.0.14
David Demelier <markand@malikania.fr>
parents:
22
diff
changeset
|
46 nmake install |