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