From 7c1ae045293cdb1d40a7a884c010ec53e76f13c6 Mon Sep 17 00:00:00 2001 From: Prcuvu Date: Sat, 31 Oct 2015 18:39:52 +0800 Subject: [PATCH] Build using platform toolset "v140_xp" on AppVeyor. --- .appveyor.yml | 2 +- Build/README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index a3a13cca36..d5ccdae675 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -35,7 +35,7 @@ before_build: - cmd: >- cd Build - cmake -G "Visual Studio 14 2015" -DWITH_IRC_POST_HOOK=ON .. + cmake -G "Visual Studio 14 2015" -T "v140_xp" -DWITH_IRC_POST_HOOK=ON .. build: project: C:\Repos\wolfmania\Build\StepMania.sln verbosity: normal diff --git a/Build/README.md b/Build/README.md index 7d42d4d178..baedb0be01 100644 --- a/Build/README.md +++ b/Build/README.md @@ -51,6 +51,8 @@ For the first setup, you will want to run this command: Replace {YourGeneratorHere} with one of the generator choices from `cmake --help`. As an example, Mac OS X users that want to have Xcode used would run `cmake -G Xcode .. && cmake ..` on their Terminal program. +If you are building on Windows and expecting your final executable to be able to run on Windows XP, append an additional parameter `-T "v140_xp"` (or `-T "v120_xp"`, depending on which version of Visual Studio you have installed) to your command line. + If any cmake project file changes, you can just run `cmake .. && cmake ..` to get up to date. If this by itself doesn't work, you may have to clean the cmake cache. Use `rm -rf CMakeCache.txt CMakeScripts/ CMakeFiles/ cmake_install.txt` to do that, and then run the generator command again as specified above.