forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/libsdl-org/SDL into libsdl-…
…org-main
- Loading branch information
Showing
173 changed files
with
2,783 additions
and
2,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,47 @@ | ||
# To compile and install SDL: | ||
# To build and use SDL: | ||
|
||
## Windows with Visual Studio: | ||
SDL supports a number of development environments: | ||
- [CMake](docs/INTRO-cmake.md) | ||
- [Visual Studio on Windows](docs/INTRO-visualstudio.md) | ||
- [Xcode on Apple platforms](docs/INTRO-xcode.md) | ||
- [Android Studio](docs/INTRO-androidstudio.md) | ||
- [Emscripten for web](docs/INTRO-emscripten.md) | ||
|
||
Read ./docs/README-visualc.md | ||
SDL is also usable in other environments. The basic steps are to use CMake to build the library and then use the headers and library that you built in your project. You can search online to see if anyone has specific steps for your setup. | ||
|
||
## Windows building with mingw-w64 for x86: | ||
# Documentation | ||
|
||
Read [README-windows.md](docs/README-windows.md) for more information on building with MinGW64. | ||
An API reference, tutorials, and additional documentation is available at: | ||
|
||
Run: `cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install build` | ||
https://wiki.libsdl.org/SDL3 | ||
|
||
## Windows building with mingw-w64 for x64: | ||
|
||
Read [README-windows.md](docs/README-windows.md). | ||
|
||
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` | ||
|
||
### macOS for universal architecture: | ||
|
||
Run: `cmake -S . -B build -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" && cmake --build build && cmake --install build` | ||
|
||
## Linux and other UNIX systems: | ||
|
||
Run: `cmake -S . -B build && cmake --build build --parallel $(nproc) && cmake --install build` | ||
|
||
## Android: | ||
|
||
Read docs/README-android.md | ||
# Example code | ||
|
||
## iOS: | ||
There are simple example programs in the examples directory, and you can view them online at: | ||
|
||
Read docs/README-ios.md | ||
https://examples.libsdl.org/SDL3 | ||
|
||
## Using CMake: | ||
More in-depth test programs are available in the tests directory and can be built by adding `-DSDL_TESTS=ON` to the CMake command line when building SDL. | ||
|
||
Read docs/README-cmake.md | ||
# Discussions | ||
|
||
# Example code | ||
## Discord | ||
|
||
Look at the example programs in ./test, and check out the online | ||
documentation at https://wiki.libsdl.org/SDL3/ | ||
You can join the official Discord server at: | ||
|
||
# Discussion | ||
https://discord.com/invite/BwpFGBWsv8 | ||
|
||
## Forums/mailing lists | ||
|
||
Join the SDL developer discussions, sign up on | ||
You can join SDL development discussions at: | ||
|
||
https://discourse.libsdl.org/ | ||
|
||
and go to the development forum | ||
|
||
https://discourse.libsdl.org/c/sdl-development/6 | ||
|
||
Once you sign up, you can use the forum through the website, or as a mailing | ||
list from your email client. | ||
Once you sign up, you can use the forum through the website or as a mailing list from your email client. | ||
|
||
## Announcement list | ||
|
||
Sign up for the announcement list through the web interface: | ||
You can sign up for the low traffic announcement list at: | ||
|
||
https://www.libsdl.org/mailing-list.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.