From 9c49c5724146729b5480d2a967083e63447ddbaf Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 24 Nov 2022 11:04:05 -0800 Subject: [PATCH] Updated INSTALL.txt with instructions for building with mingw64 --- INSTALL.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 44e20866c4..01fc2b554a 100644 --- a/INSTALL.txt +++ b/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