docs: Fix syntax highlighting in 0.46.0 notes

pull/3475/head
TingPing 7 years ago committed by GitHub
parent 20088c22e9
commit c57b159495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      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 The '--cpu' option with the appropriate target type should be mentioned
in the cross file as shown in the snippet below. in the cross file as shown in the snippet below.
``` ```ini
[properties] [properties]
c_args = ['--cpu=Cortex-M0plus'] c_args = ['--cpu=Cortex-M0plus']
cpp_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 One of the use cases is to get the location of development files for the
GCC plugins: GCC plugins:
```meson
cc = meson.get_compiler('c') cc = meson.get_compiler('c')
result = run_command(cc, '-print-file-name=plugin') result = run_command(cc, '-print-file-name=plugin')
plugin_dev_path = result.stdout().strip() plugin_dev_path = result.stdout().strip()
```
## declare_dependency() supports link_whole ## 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. to the same library multiple times.
```meson ```meson
dep = dependency('xcb') dep = dependency('xcb')
helper = static_library( helper = static_library(

Loading…
Cancel
Save