aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Using-with-Visual-Studio.md
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-03-29 15:03:43 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-26 17:56:33 +0300
commitb371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f (patch)
tree6e1a3c34b1a85479d3b9f42ccd071096e637929b /docs/markdown/Using-with-Visual-Studio.md
parent7dc747ea54480c452b913e4bfe682ec67061c9bf (diff)
downloadmeson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.zip
meson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.tar.gz
meson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.tar.bz2
docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with the source code as people will have to document new features etc right at the time where they implement it.
Diffstat (limited to 'docs/markdown/Using-with-Visual-Studio.md')
-rw-r--r--docs/markdown/Using-with-Visual-Studio.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/Using-with-Visual-Studio.md b/docs/markdown/Using-with-Visual-Studio.md
new file mode 100644
index 0000000..2768ea4
--- /dev/null
+++ b/docs/markdown/Using-with-Visual-Studio.md
@@ -0,0 +1,16 @@
+---
+short-description: How to use meson in Visual Studio
+...
+
+# Using with Visual Studio
+
+In order to generate Visual Studio projects, Meson needs to know the settings of your installed version of Visual Studio. The only way to get this information is to run Meson under the Visual Studio Command Prompt. The steps to set it up are as follows:
+
+1. Click on start menu and select "Visual Studio 2015 Command Prompt"
+1. cd into your source directory
+1. mkdir build
+1. python3 path/to/meson.py build --backend vs2015
+
+If you wish to use the Ninja backend instead of vs2015, pass `--backend ninja`. At the time of writing the Ninja backend is more mature than the VS backend so you might want to use it for serious work.
+
+This assumes Python3 is in your `PATH`, which is highly recommended.