aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2018-05-07 11:17:08 +0300
committerPetri Lehtinen <petri@digip.org>2018-05-07 11:17:08 +0300
commitfda9288b5f1f808820134ead984cf6cd2afe7030 (patch)
tree9c2d2aca218cdf9ee29fe8b2e86f28eefbab0d3d /doc
parent9ff08f63126f0f1e8218cb811547485a4840c4e5 (diff)
downloadjansson-fda9288b5f1f808820134ead984cf6cd2afe7030.zip
jansson-fda9288b5f1f808820134ead984cf6cd2afe7030.tar.gz
jansson-fda9288b5f1f808820134ead984cf6cd2afe7030.tar.bz2
Update build instructions for Visual Studio
Diffstat (limited to 'doc')
-rw-r--r--doc/gettingstarted.rst17
1 files changed, 16 insertions, 1 deletions
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.