mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-24 03:13:34 +08:00
Updated INSTALL.txt with instructions for building with mingw64
This commit is contained in:
parent
6d103303e7
commit
9c49c57241
12
INSTALL.txt
12
INSTALL.txt
@ -4,18 +4,20 @@ To compile and install SDL:
|
||||
1. Windows with Visual Studio:
|
||||
* Read ./docs/README-visualc.md
|
||||
|
||||
Windows with gcc, either native or cross-compiling:
|
||||
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
||||
* Run 'cmake -S . -B build && cmake --build build && cmake --install install'
|
||||
Windows building with mingw64 for x86:
|
||||
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install install
|
||||
|
||||
Windows building with mingw64 for x64:
|
||||
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-x86_64.cmake && cmake --build build && cmake --install install
|
||||
|
||||
macOS with Xcode:
|
||||
* Read docs/README-macosx.md
|
||||
|
||||
macOS from the command line:
|
||||
* Run 'cmake -S . -B build && cmake --build build && cmake --install install'
|
||||
* Run: cmake -S . -B build && cmake --build build && cmake --install install
|
||||
|
||||
Linux and other UNIX systems:
|
||||
* Run 'cmake -S . -B build && cmake --build build && cmake --install install'
|
||||
* Run: cmake -S . -B build && cmake --build build && cmake --install install
|
||||
|
||||
Android:
|
||||
* Read docs/README-android.md
|
||||
|
Loading…
Reference in New Issue
Block a user