aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Adding-arguments.md
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-05-02 20:55:49 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-05-03 16:20:51 -0400
commitb80d40c287789ec0cb430842923a0254c86a6150 (patch)
tree1959e740245042340aff6d6ea96f80d8a75c95f1 /docs/markdown/Adding-arguments.md
parent492e281c0e5a4ff01e15af220bff21acaaa7f90d (diff)
downloadmeson-b80d40c287789ec0cb430842923a0254c86a6150.zip
meson-b80d40c287789ec0cb430842923a0254c86a6150.tar.gz
meson-b80d40c287789ec0cb430842923a0254c86a6150.tar.bz2
doc: Capitalize things more consistently.
Upper or lower case depending on the official spelling, or the more consistent usage.
Diffstat (limited to 'docs/markdown/Adding-arguments.md')
-rw-r--r--docs/markdown/Adding-arguments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Adding-arguments.md b/docs/markdown/Adding-arguments.md
index 6067377..e049e82 100644
--- a/docs/markdown/Adding-arguments.md
+++ b/docs/markdown/Adding-arguments.md
@@ -15,7 +15,7 @@ Global compiler arguments are set with the following command. As an example you
add_global_arguments('-DFOO=bar', language : 'c')
```
-This makes Meson add the define to all C compilations. Usually you would use this setting for flags for global settings. Note that for setting the C/C++ language standard (the `-std=c99` argument in Gcc), you would probably want to use a default option of the `project()` function. For details see the [reference manual](Reference manual).
+This makes Meson add the define to all C compilations. Usually you would use this setting for flags for global settings. Note that for setting the C/C++ language standard (the `-std=c99` argument in GCC), you would probably want to use a default option of the `project()` function. For details see the [reference manual](Reference manual).
Global arguments have certain limitations. They all have to be defined before any build targets are specified. This ensures that the global flags are the same for every single source file built in the entire project with one exception. Compilation tests that are run as part of your project configuration do not use these flags. The reason for that is that you may need to run a test compile with and without a given flag to determine your build setup. For this reason tests do not use these global arguments.