Updated INSTALL.txt with instructions for building with mingw64

This commit is contained in:
Sam Lantinga 2022-11-24 11:04:05 -08:00
parent 6d103303e7
commit 9c49c57241

View File

@ -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