DosFreak wrote on 2022-04-30, 23:48:
I haven't looked at stratagus but yes should definitely be possible assuming github still allows a XP target for their environment, it did last I checked months ago.
From what I read regarding the Microsoft tools, (first summary from Wikipedia):
32-bit and 64-bit: Visual C++ 2015 (also known as Visual C++ 14.0) was released on July 20, 2015.
32-bit and 64-bit: Visual C++ 2017 (also known as Visual C++ 14.1) was released on March 7, 2017.
32-bit and 64-bit: Visual C++ 2019 (also known as Visual C++ 14.20) was released on April 2, 2019.
Strictly 64-bit: Visual C++ 2022 (also known as Visual C++ 14.30) was released on November 8, 2021.
VC2019 has the v141_xp toolset option. See https://stackoverflow.com/questions/58755564/ … toolset-v140-xp.
More about the v141_xp / v141 difference: https://stackoverflow.com/questions/67334007/ … th-v141-toolset.
In cmake in a github project it looks like this:
"cmake.generator": "Visual Studio 16 2019",
followed by one of these three, with my take on the results behind it:
"cmake.toolset": "v141_xp", = Works in Windows XP right away
"cmake.toolset": "v141", = Usually the same result as v141_xp, but always with NT6 requirement in the PE header, so a hexedit is worth a try.
"cmake.toolset": "v142", = Implements NT6 calls, for XP it is KernelEx wrappers or bust.
(If this was already clear to you, then just consider it a note for my own reference.)