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:
+1
-1
@@ -35,7 +35,7 @@ before_build:
|
|||||||
- cmd: >-
|
- cmd: >-
|
||||||
cd Build
|
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:
|
build:
|
||||||
project: C:\Repos\wolfmania\Build\StepMania.sln
|
project: C:\Repos\wolfmania\Build\StepMania.sln
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
|
|||||||
@@ -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.
|
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 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.
|
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.
|
Use `rm -rf CMakeCache.txt CMakeScripts/ CMakeFiles/ cmake_install.txt` to do that, and then run the generator command again as specified above.
|
||||||
|
|||||||
Reference in New Issue
Block a user