mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 20:09:38 +08:00
Updated INSTALL.txt with instructions for building with mingw64
This commit is contained in:
+7
-5
@@ -4,18 +4,20 @@ To compile and install SDL:
|
|||||||
1. Windows with Visual Studio:
|
1. Windows with Visual Studio:
|
||||||
* Read ./docs/README-visualc.md
|
* Read ./docs/README-visualc.md
|
||||||
|
|
||||||
Windows with gcc, either native or cross-compiling:
|
Windows building with mingw64 for x86:
|
||||||
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
* Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install install
|
||||||
* Run 'cmake -S . -B build && 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:
|
macOS with Xcode:
|
||||||
* Read docs/README-macosx.md
|
* Read docs/README-macosx.md
|
||||||
|
|
||||||
macOS from the command line:
|
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:
|
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:
|
Android:
|
||||||
* Read docs/README-android.md
|
* Read docs/README-android.md
|
||||||
|
|||||||
Reference in New Issue
Block a user