Merge pull request #919 from Prcuvu/appveyor_build_with_v140_xp

[Windows] Build using platform toolset "v140_xp" on AppVeyor.
This commit is contained in:
Jason Felds
2015-10-31 14:20:52 -04:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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.