From 950b9523cee41cc1b9a11263d69aa41b3c347a31 Mon Sep 17 00:00:00 2001 From: Misa Date: Tue, 24 Aug 2021 09:11:02 -0700 Subject: [PATCH] Add Visual Studio string list If people compile with VS 2019, then putting in VS 2010 will just result in a weird error that's not really indicative of anything. --- desktop_version/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/desktop_version/README.md b/desktop_version/README.md index 7641a039..71cf1c2b 100644 --- a/desktop_version/README.md +++ b/desktop_version/README.md @@ -29,6 +29,17 @@ Note that on some systems, the `SDL2_LIBRARIES` list on Windows may need SDL2/SDL2main/SDL2_mixer to have `.lib` at the end of them. The reason for this inconsistency is unknown. +Also note that if you're using a Visual Studio later than 2010, you will need to +change the `-G` string accordingly; otherwise you will get a weird cryptic +error. Refer to the list below: + +- VS 2012: `"Visual Studio 11 2012"` +- VS 2013: `"Visual Studio 12 2013"` +- VS 2015: `"Visual Studio 14 2015"` +- VS 2017: `"Visual Studio 15 2017"` +- VS 2019: `"Visual Studio 16 2019"` +- VS 2022: `"Visual Studio 17 2022"` + To generate everywhere else: ``` mkdir flibitBuild