2015-06-21 23:33:46 +08:00
|
|
|
|
|
|
|
To compile and install SDL:
|
|
|
|
|
|
|
|
1. Windows with Visual Studio:
|
2021-02-15 10:17:58 +08:00
|
|
|
* Read ./docs/README-visualc.md
|
2015-06-21 23:33:46 +08:00
|
|
|
|
2022-11-25 07:43:24 +08:00
|
|
|
Windows building with mingw-w64 for x86:
|
2022-11-25 03:05:53 +08:00
|
|
|
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install build
|
2022-11-25 03:04:05 +08:00
|
|
|
|
2022-11-25 07:43:24 +08:00
|
|
|
Windows building with mingw-w64 for x64:
|
2022-11-25 03:05:53 +08:00
|
|
|
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-x86_64.cmake && cmake --build build && cmake --install build
|
2015-06-21 23:33:46 +08:00
|
|
|
|
2022-03-16 01:07:34 +08:00
|
|
|
macOS with Xcode:
|
2022-11-26 08:00:06 +08:00
|
|
|
* Read docs/README-macos.md
|
2015-06-21 23:33:46 +08:00
|
|
|
|
2022-03-16 01:07:34 +08:00
|
|
|
macOS from the command line:
|
2022-11-25 03:05:53 +08:00
|
|
|
* Run: cmake -S . -B build && cmake --build build && cmake --install build
|
2015-06-21 23:33:46 +08:00
|
|
|
|
|
|
|
Linux and other UNIX systems:
|
2022-11-25 03:05:53 +08:00
|
|
|
* Run: cmake -S . -B build && cmake --build build && cmake --install build
|
2015-06-21 23:33:46 +08:00
|
|
|
|
|
|
|
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
|
2021-04-02 00:15:28 +08:00
|
|
|
documentation at https://wiki.libsdl.org/
|
2015-06-21 23:33:46 +08:00
|
|
|
|
2021-05-13 22:46:55 +08:00
|
|
|
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
|
2015-06-21 23:33:46 +08:00
|
|
|
|
2021-05-13 22:46:55 +08:00
|
|
|
4. Sign up for the announcement list through the web interface:
|
|
|
|
https://www.libsdl.org/mailing-list.php
|
2015-06-21 23:33:46 +08:00
|
|
|
|
|
|
|
That's it!
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|