aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-08-04 18:39:29 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-08-05 16:40:53 +0000
commiteeebfded853564c4a8c5a6ab7cc6a1d9331b0779 (patch)
tree491c602b55f60a1b4747ceb35bad0b74e5a02e1b /docs
parentbfddf9cfbc9281665fc1d562e9bf4b996b3a5ebd (diff)
downloadmeson-eeebfded853564c4a8c5a6ab7cc6a1d9331b0779.zip
meson-eeebfded853564c4a8c5a6ab7cc6a1d9331b0779.tar.gz
meson-eeebfded853564c4a8c5a6ab7cc6a1d9331b0779.tar.bz2
Document VS backend from_buildtype behaviour change in release notes
Closes https://github.com/mesonbuild/meson/issues/7438
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Release-notes-for-0.55.0.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Release-notes-for-0.55.0.md b/docs/markdown/Release-notes-for-0.55.0.md
index 534c452..cd3f795 100644
--- a/docs/markdown/Release-notes-for-0.55.0.md
+++ b/docs/markdown/Release-notes-for-0.55.0.md
@@ -305,3 +305,11 @@ $ meson compile "--ninja-args=['a,b', 'c d']"
dumping the AST (--ast): **new in 0.55.0**
- prints the AST of a meson.build as JSON
+## `--backend=vs` now matches `-Db_vscrt=from_buildtype` behaviour in the Ninja backend
+
+When `--buildtype=debugoptimized` is used with the Ninja backend, the VS CRT
+option used is `/MD`, which is the [behaviour documented for all
+backends](https://mesonbuild.com/Builtin-options.html#b_vscrt-from_buildtype).
+However, the Visual Studio backend was pass `/MT` in that case, which is inconsistent.
+
+If you need to use the MultiThreaded CRT, you should explicitly pass `-Db_vscrt=mt`