diff options
author | jml1795 <45511331+jml1795@users.noreply.github.com> | 2019-02-18 17:06:27 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-19 00:06:27 +0200 |
commit | a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d (patch) | |
tree | 5b5159756428d3f403fe45d183412331d715b605 /docs/markdown | |
parent | 2cede4d6c9264f725ab57f48e929c748fa1f1ac8 (diff) | |
download | meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.zip meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.tar.gz meson-a9e63568fe4a1ef420cdb8bacb85fbf6d621dc0d.tar.bz2 |
Add warning level zero
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Builtin-options.md | 2 | ||||
-rw-r--r-- | docs/markdown/Configuring-a-build-directory.md | 2 | ||||
-rw-r--r-- | docs/markdown/snippets/warning_level_0.md | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md index 0d1a16b..5db6e02 100644 --- a/docs/markdown/Builtin-options.md +++ b/docs/markdown/Builtin-options.md @@ -40,7 +40,7 @@ Installation options are all relative to the prefix, except: | localstatedir | var | Localstate data directory | | sharedstatedir | com | Architecture-independent data directory | | werror | false | Treat warnings as errors | -| warning_level {1, 2, 3} | 1 | Set the warning level. From 1 = lowest to 3 = highest | +| warning_level {0, 1, 2, 3} | 1 | Set the warning level. From 0 = none to 3 = highest | | layout {mirror,flat} | mirror | Build directory layout. | | default_library {shared, static, both} | shared | Default library type. | | backend {ninja, vs,<br>vs2010, vs2015, vs2017, xcode} | | Backend to use (default: ninja). | diff --git a/docs/markdown/Configuring-a-build-directory.md b/docs/markdown/Configuring-a-build-directory.md index 91ad6f7..ddda6fe 100644 --- a/docs/markdown/Configuring-a-build-directory.md +++ b/docs/markdown/Configuring-a-build-directory.md @@ -33,7 +33,7 @@ sample output for a simple project. optimization 3 [0, g, 1, 2, 3, s] Optimization level strip false [true, false] Strip targets on install unity off [on, off, subprojects] Unity build - warning_level 1 [1, 2, 3] Compiler warning level to use + warning_level 1 [0, 1, 2, 3] Compiler warning level to use werror false [true, false] Treat warnings as errors Backend options: diff --git a/docs/markdown/snippets/warning_level_0.md b/docs/markdown/snippets/warning_level_0.md new file mode 100644 index 0000000..4836b14 --- /dev/null +++ b/docs/markdown/snippets/warning_level_0.md @@ -0,0 +1,3 @@ +## Add warning_level 0 option + +Adds support for a warning level 0 which does not enable any static analysis checks from the compiler |