From 9ff08f63126f0f1e8218cb811547485a4840c4e5 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 7 May 2018 08:18:07 +0300 Subject: [PATCH 1/2] Also build with VS 2017 in appveyor --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 852a399..796fa0b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,8 @@ environment: - VS: Visual Studio 11 2012 - VS: Visual Studio 12 2013 - VS: Visual Studio 14 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + VS: Visual Studio 15 2017 build_script: - md build From fda9288b5f1f808820134ead984cf6cd2afe7030 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 7 May 2018 11:17:08 +0300 Subject: [PATCH 2/2] Update build instructions for Visual Studio --- doc/gettingstarted.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/gettingstarted.rst b/doc/gettingstarted.rst index 292cfb6..64bec43 100644 --- a/doc/gettingstarted.rst +++ b/doc/gettingstarted.rst @@ -101,7 +101,22 @@ Creating Visual Studio project files from the command line: md build cd build - cmake -G "Visual Studio 10" .. + cmake -G "Visual Studio 15 2017" .. + +.. note:: + + You should replace the name of the generator (``-G`` flag) matching + the Visual Studio version installed on your system. Currently, the + following versions are supported: + + - ``Visual Studio 9 2008`` + - ``Visual Studio 10 2010`` + - ``Visual Studio 11 2012`` + - ``Visual Studio 12 2013`` + - ``Visual Studio 14 2015`` + - ``Visual Studio 15 2017`` + + Any later version should also work. You will now have a *Visual Studio Solution* in your build directory. To run the unit tests build the ``RUN_TESTS`` project.