aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2018-04-23 16:00:45 -0400
committerGitHub <noreply@github.com>2018-04-23 16:00:45 -0400
commitc57b1594951a271083c47eb8ab1228cd42d482e4 (patch)
tree53d4a5c48f7a22c7fb5f9e25be50f581b88a5d3e
parent20088c22e97afae2ecf91b4d55dff982d53ade72 (diff)
downloadmeson-c57b1594951a271083c47eb8ab1228cd42d482e4.zip
meson-c57b1594951a271083c47eb8ab1228cd42d482e4.tar.gz
meson-c57b1594951a271083c47eb8ab1228cd42d482e4.tar.bz2
docs: Fix syntax highlighting in 0.46.0 notes
-rw-r--r--docs/markdown/Release-notes-for-0.46.0.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/markdown/Release-notes-for-0.46.0.md b/docs/markdown/Release-notes-for-0.46.0.md
index d0a4881..1461549 100644
--- a/docs/markdown/Release-notes-for-0.46.0.md
+++ b/docs/markdown/Release-notes-for-0.46.0.md
@@ -26,7 +26,7 @@ The environment path should be set properly for the ARM compiler executables.
The '--cpu' option with the appropriate target type should be mentioned
in the cross file as shown in the snippet below.
-```
+```ini
[properties]
c_args = ['--cpu=Cortex-M0plus']
cpp_args = ['--cpu=Cortex-M0plus']
@@ -50,9 +50,11 @@ to obtain additional information from it.
One of the use cases is to get the location of development files for the
GCC plugins:
- cc = meson.get_compiler('c')
- result = run_command(cc, '-print-file-name=plugin')
- plugin_dev_path = result.stdout().strip()
+```meson
+cc = meson.get_compiler('c')
+result = run_command(cc, '-print-file-name=plugin')
+plugin_dev_path = result.stdout().strip()
+```
## declare_dependency() supports link_whole
@@ -244,7 +246,6 @@ for example, to only use headers with convenience libraries to avoid linking
to the same library multiple times.
```meson
-
dep = dependency('xcb')
helper = static_library(