diff options
author | Christoph Behle <behlec@gmail.com> | 2017-11-18 13:52:04 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-19 18:17:31 +0200 |
commit | c6539367007cf3756a022083390fb8cd982c4365 (patch) | |
tree | 83d1c961baa394b34a2cd9cf2128febd98a48f19 /docs/markdown/howtox.md | |
parent | 708cdea86182bd8f7038e8b3aad8f482b2500ada (diff) | |
download | meson-c6539367007cf3756a022083390fb8cd982c4365.zip meson-c6539367007cf3756a022083390fb8cd982c4365.tar.gz meson-c6539367007cf3756a022083390fb8cd982c4365.tar.bz2 |
Documentation: Add note about SCAN_BUILD
When running ninja scan-build you can use the environment variable
SCAN_BUILD to choose the right executable.
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r-- | docs/markdown/howtox.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md index c4aa9c5..4e7e220 100644 --- a/docs/markdown/howtox.md +++ b/docs/markdown/howtox.md @@ -125,6 +125,12 @@ Install scan-build and configure your project. Then do this: $ ninja scan-build ``` +You can use the `SCAN_BUILD` environment variable to choose the scan-build executable. +```console +$ SCAN_BUILD=<your exe> ninja scan-build +``` + + ## Use profile guided optimization Using profile guided optimization with GCC is a two phase operation. First we set up the project with profile measurements enabled and compile it. |