aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCrend King <975235+CrendKing@users.noreply.github.com>2021-11-10 04:11:31 -0800
committerEli Schwartz <eschwartz93@gmail.com>2021-11-21 08:08:11 -0500
commit809792c2233ee0da4127d77f73c3bf715128d33c (patch)
tree30b94948ff00790e360c5128250b7536d3712ec4 /docs
parent59245101881ec5e24bc61ec35576ad376a769f40 (diff)
downloadmeson-809792c2233ee0da4127d77f73c3bf715128d33c.zip
meson-809792c2233ee0da4127d77f73c3bf715128d33c.tar.gz
meson-809792c2233ee0da4127d77f73c3bf715128d33c.tar.bz2
Support Visual Studio 2022 backend
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Builtin-options.md2
-rw-r--r--docs/markdown/Configuring-a-build-directory.md28
-rw-r--r--docs/markdown/snippets/vs_2022.md10
-rw-r--r--docs/yaml/builtins/meson.yaml1
4 files changed, 26 insertions, 15 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md
index aa2ed70..613b8b8 100644
--- a/docs/markdown/Builtin-options.md
+++ b/docs/markdown/Builtin-options.md
@@ -70,7 +70,7 @@ machine](#specifying-options-per-machine) section for details.
| Option | Default value | Description | Is per machine | Is per subproject |
| ------ | ------------- | ----------- | -------------- | ----------------- |
| auto_features {enabled, disabled, auto} | auto | Override value of all 'auto' features | no | no |
-| backend {ninja, vs,<br>vs2010, vs2012, vs2013, vs2015, vs2017, vs2019, xcode} | ninja | Backend to use | no | no |
+| backend {ninja, vs,<br>vs2010, vs2012, vs2013, vs2015, vs2017, vs2019, vs2022, xcode} | ninja | Backend to use | no | no |
| buildtype {plain, debug,<br>debugoptimized, release, minsize, custom} | debug | Build type to use | no | no |
| debug | true | Debug | no | no |
| default_library {shared, static, both} | shared | Default library type | no | yes |
diff --git a/docs/markdown/Configuring-a-build-directory.md b/docs/markdown/Configuring-a-build-directory.md
index c552676..1eb8478 100644
--- a/docs/markdown/Configuring-a-build-directory.md
+++ b/docs/markdown/Configuring-a-build-directory.md
@@ -21,20 +21,20 @@ a sample output for a simple project.
Build dir /home/jpakkane/clangdemo/2_address/buildmeson
Core options:
- Option Current Value Possible Values Description
- ------ ------------- --------------- -----------
- auto_features auto [enabled, disabled, auto] Override value of all 'auto' features
- backend ninja [ninja, vs, vs2010, vs2015, vs2017, vs2019, xcode] Backend to use
- buildtype release [plain, debug, debugoptimized, release, minsize, custom] Build type to use
- debug false [true, false] Debug
- default_library shared [shared, static, both] Default library type
- install_umask 0022 [preserve, 0000-0777] Default umask to apply on permissions of installed files
- layout mirror [mirror, flat] Build directory layout
- optimization 3 [0, g, 1, 2, 3, s] Optimization level
- strip false [true, false] Strip targets on install
- unity off [on, off, subprojects] Unity build
- warning_level 1 [0, 1, 2, 3] Compiler warning level to use
- werror false [true, false] Treat warnings as errors
+ Option Current Value Possible Values Description
+ ------ ------------- --------------- -----------
+ auto_features auto [enabled, disabled, auto] Override value of all 'auto' features
+ backend ninja [ninja, vs, vs2010, vs2015, vs2017, vs2019, vs2022, xcode] Backend to use
+ buildtype release [plain, debug, debugoptimized, release, minsize, custom] Build type to use
+ debug false [true, false] Debug
+ default_library shared [shared, static, both] Default library type
+ install_umask 0022 [preserve, 0000-0777] Default umask to apply on permissions of installed files
+ layout mirror [mirror, flat] Build directory layout
+ optimization 3 [0, g, 1, 2, 3, s] Optimization level
+ strip false [true, false] Strip targets on install
+ unity off [on, off, subprojects] Unity build
+ warning_level 1 [0, 1, 2, 3] Compiler warning level to use
+ werror false [true, false] Treat warnings as errors
Backend options:
Option Current Value Possible Values Description
diff --git a/docs/markdown/snippets/vs_2022.md b/docs/markdown/snippets/vs_2022.md
new file mode 100644
index 0000000..0c3ff02
--- /dev/null
+++ b/docs/markdown/snippets/vs_2022.md
@@ -0,0 +1,10 @@
+## Visual Studio 2022 backend
+
+As Visual Studio 2022 is released recently, it's time to support the
+new version in Meson. This mainly includes the new "v143" platform tools.
+
+The usage is similar to other backends. For example
+```meson
+meson setup builddir --backend=vs2022
+```
+will configure "builddir" for projects compatible with Visual Studio 2022.
diff --git a/docs/yaml/builtins/meson.yaml b/docs/yaml/builtins/meson.yaml
index f8c4e78..4f2d24d 100644
--- a/docs/yaml/builtins/meson.yaml
+++ b/docs/yaml/builtins/meson.yaml
@@ -134,6 +134,7 @@ methods:
- `vs2015`
- `vs2017`
- `vs2019`
+ - `vs2022`
- `xcode`
- name: build_root