aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2018-10-15 16:11:42 -0400
committerGitHub <noreply@github.com>2018-10-15 16:11:42 -0400
commitd64eed7791fc9b363b324f24a422701a139dd338 (patch)
treeec5a9506bdda2a4f1ce575f68be0353e4a8020bb /docs
parentaa27dd7928da74b92ebe0e420d040ef6be3766b6 (diff)
downloadmeson-d64eed7791fc9b363b324f24a422701a139dd338.zip
meson-d64eed7791fc9b363b324f24a422701a139dd338.tar.gz
meson-d64eed7791fc9b363b324f24a422701a139dd338.tar.bz2
docs/Release-notes-for-0.48.0.md: Minor cleanups
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Release-notes-for-0.48.0.md19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/markdown/Release-notes-for-0.48.0.md b/docs/markdown/Release-notes-for-0.48.0.md
index 1eb5488..99673a4 100644
--- a/docs/markdown/Release-notes-for-0.48.0.md
+++ b/docs/markdown/Release-notes-for-0.48.0.md
@@ -36,16 +36,15 @@ configuration. For example:
project('configure_file', 'cpp')
configure_file(
- input: 'a.in',
- output: 'out',
- command: ['./foo.sh']
- )
+ input: 'a.in',
+ output: 'out',
+ command: ['./foo.sh']
+)
configure_file(
input: 'a.in',
output: 'out',
command: ['./foo.sh']
)
-
```
This will output:
@@ -231,15 +230,15 @@ namely `add_global_arguments`, `add_global_link_arguments`,
`add_project_arguments` and `add_project_link_arguments` that behaves
like the following:
-```
-## Added to native builds when compiling natively and to cross
-## compilations when doing cross compiles.
+```meson
+# Added to native builds when compiling natively and to cross
+# compilations when doing cross compiles.
add_project_arguments(...)
-## Added only to native compilations, not used in cross compilations.
+# Added only to native compilations, not used in cross compilations.
add_project_arguments(..., native : true)
-## Added only to cross compilations, not used in native compilations.
+# Added only to cross compilations, not used in native compilations.
add_project_arguments(..., native : false)
```