diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-09-21 22:36:19 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-10-20 00:48:00 +0300 |
commit | 648b2c579915a75a6d8e65cab4ffc283769cea29 (patch) | |
tree | e77a30e4ba337196c8826dd256d6f01cd69107ef | |
parent | c453400d597116954b3bb2a9e2c3d60251dc97a2 (diff) | |
download | meson-648b2c579915a75a6d8e65cab4ffc283769cea29.zip meson-648b2c579915a75a6d8e65cab4ffc283769cea29.tar.gz meson-648b2c579915a75a6d8e65cab4ffc283769cea29.tar.bz2 |
Document the no_builtin_args argument of Compiler object methods [skip ci]
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 64ed9d1..44545c5 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1795,7 +1795,7 @@ The following keyword arguments can be used: required to find the header or symbol. For example, you might need to pass the include path `-Isome/path/to/header` if a header is not in the default include path. In versions newer than 0.38.0 you - should use the `include_directories` keyword described above. You + should use the `include_directories` keyword described below. You may also want to pass a library name `-lfoo` for `has_function` to check for a function. Supported by all methods except `get_id`, `version`, and `find_library`. @@ -1808,6 +1808,9 @@ The following keyword arguments can be used: `run()`. If this keyword argument is not passed to those methods, no message will be printed about the check. +- `no_builtin_args` when set to true, the compiler arguments controlled + by built-in configuration options are not added. + - `prefix` can be used to add #includes and other things that are required for the symbol to be declared. System definitions should be passed via compiler args (eg: `_GNU_SOURCE` is often required for @@ -1816,7 +1819,7 @@ The following keyword arguments can be used: `sizeof`, `has_type`, `has_function`, `has_member`, `has_members`, `check_header`, `has_header`, `has_header_symbol`. -**Note:** These compiler checks do not use compiler arguments added with +**Note:** These compiler checks do not use compiler arguments added with `add_*_arguments()`, via `-Dlang_args` on the command-line, or through `CFLAGS`/`LDFLAGS`, etc in the environment. Hence, you can trust that the tests will be fully self-contained, and won't fail because of custom |