Update to Visual Studio 2017 (#28)

* Update readme for Windows with rustup and VS17

* Update AppVeyor to build with Visual Studio 2017

* Drop Visual Studio 2015 support in favor of 2017
This commit is contained in:
iceiix 2018-11-20 07:06:31 -08:00 committed by GitHub
parent 7d41bb838d
commit e72cf4787c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -22,7 +22,7 @@ Feel free to pop in to say hi, [Webchat can be found here](https://irc.spi.gt/ir
Windows users can download pre-compiled builds from here: https://ci.appveyor.com/project/iceiix/steven
(Select your platform, Click the artifacts tab and download Steven.zip)
The Visual Studio 2015 Redistributable is required to run these builds.
The Visual Studio 2017 Redistributable is required to run these builds.
## Building
@ -78,11 +78,13 @@ brew install sdl2
```
### Installing dependencies on Windows
Build with Visual Studio 2015. May build with other compilers, but not tested
Install [Visual Studio 2017](https://visualstudio.microsoft.com/vs/older-downloads)
with the Visual C++ option. May build with other compilers, but not tested
(previously was built with MinGW and the GNU toolchain).
Download [SDL2-devel-2.0.4-VC.zip](https://www.libsdl.org/release/SDL2-devel-2.0.4-VC.zip), extract and
copy SDL2-2.0.4\lib\x64\SDL2.lib to C:\Rust\lib\rustlib\x86_64-pc-windows-msvc\lib\SDL2.lib.
copy SDL2-2.0.4\lib\x64\SDL2.lib to .multirust\toolchains\beta-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\SDL2.lib
and SDL2-2.0.4\lib\x64\SDL2.dll to target\release.
## Running

View File

@ -1,5 +1,5 @@
version: 1.0.{build}
image: Visual Studio 2015
image: Visual Studio 2017
clone_depth: 1
platform:
- x64