forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
43 lines (29 loc) · 1.47 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
To compile and install SDL:
1. Windows with Visual Studio:
* Read ./docs/README-visualc.md
Windows building with mingw-w64 for x86:
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install build
Windows building with mingw-w64 for x64:
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-x86_64.cmake && cmake --build build && cmake --install build
macOS with Xcode:
* Read docs/README-macos.md
macOS from the command line:
* Run: cmake -S . -B build && cmake --build build && cmake --install build
Linux and other UNIX systems:
* Run: cmake -S . -B build && cmake --build build && cmake --install build
Android:
* Read docs/README-android.md
iOS:
* Read docs/README-ios.md
Using Cmake:
* Read docs/README-cmake.md
2. Look at the example programs in ./test, and check out the online
documentation at https://wiki.libsdl.org/
3. Join the SDL developer discussions, sign up on
https://discourse.libsdl.org/
and go to the development forum
https://discourse.libsdl.org/c/sdl-development/6
4. Sign up for the announcement list through the web interface:
https://www.libsdl.org/mailing-list.php
That's it!
Sam Lantinga <slouken@libsdl.org>