aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Release-notes-for-0.44.0.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/markdown/Release-notes-for-0.44.0.md b/docs/markdown/Release-notes-for-0.44.0.md
index 93e224d..56956d7 100644
--- a/docs/markdown/Release-notes-for-0.44.0.md
+++ b/docs/markdown/Release-notes-for-0.44.0.md
@@ -71,10 +71,12 @@ Added a new keyword argument to the `subdir` command. It is given a
list of dependency objects and the function will only recurse in the
subdirectory if they are all found. Typical usage goes like this.
- d1 = dependency('foo') # This is found
- d2 = dependency('bar') # This is not found
+```meson
+d1 = dependency('foo') # This is found
+d2 = dependency('bar') # This is not found
- subdir('somedir', if_found : [d1, d2])
+subdir('somedir', if_found : [d1, d2])
+```
In this case the subdirectory would not be entered since `d2` could
not be found.
@@ -138,6 +140,8 @@ Meson now ships an internal version of Python in the MSI installer packages.
This means that it can run Python scripts that are part of your build
transparently. That is, if you do the following:
- myprog = find_program('myscript.py')
+```meson
+myprog = find_program('myscript.py')
+```
Then Meson will run the script with its internal Python version if necessary.