docs: Fix missing syntax highlighting

pull/2841/head
TingPing 7 years ago committed by GitHub
parent de3feb9625
commit ff81db83af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      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.

Loading…
Cancel
Save