diff options
author | TingPing <tingping@tingping.se> | 2017-12-28 07:08:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-28 07:08:24 -0500 |
commit | ff81db83afef0f504d4609d42940ecc0353b630d (patch) | |
tree | 08179eb4002a73e47893967334db0d3001764486 | |
parent | de3feb96257c6643c373e14163aea35b55e0ab44 (diff) | |
download | meson-ff81db83afef0f504d4609d42940ecc0353b630d.zip meson-ff81db83afef0f504d4609d42940ecc0353b630d.tar.gz meson-ff81db83afef0f504d4609d42940ecc0353b630d.tar.bz2 |
docs: Fix missing syntax highlighting
-rw-r--r-- | docs/markdown/Release-notes-for-0.44.0.md | 12 |
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. |