From 85a6b3b067b62407e60e9e0b364fbfc4d1f3d312 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 12 Feb 2023 20:09:00 +0100 Subject: [PATCH] README: Update build instructions for newer versions of VS --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e7d9a10..9661126b 100644 --- a/README.md +++ b/README.md @@ -141,11 +141,15 @@ There are two subfolders: - 32-bit binaries are located in `i686-w64-mingw32` - 64-bit binaries are located in `x86_64-w64-mingw32` -Issue the appropriate command from the build folder, for example: +Issue the appropriate command from the build folder, for example (for VS2019 and 32bit): -`cmake -G "Visual Studio 10" -DDHEWM3LIBS=/path/to/dhewm3-libs/i686-w64-mingw32 /path/to/repository/neo` +`cmake -G "Visual Studio 16 2019" -A Win32 -DDHEWM3LIBS=/path/to/dhewm3-libs/i686-w64-mingw32 /path/to/repository/neo` -`cmake -G "MinGW Makefiles" -DDHEWM3LIBS=/path/to/dhewm3-libs/x86_64-w64-mingw32 /path/to/repository/neo` +For 64bit dhewm3 binaries, use `-A x64` and `/path/to/dhewm3-libs/x86_64-w64-mingw32` instead (note that the official dhewm3 binaries for Windows are 32bit). +For Visual Studio 2022 it's `"Visual Studio 17 2022"`. + +For 32bit MinGW use: +`cmake -G "MinGW Makefiles" -DDHEWM3LIBS=/path/to/dhewm3-libs/i686-w64-mingw32 /path/to/repository/neo` The binaries are compatible with MinGW-w64 and all MSVC versions.