Documentation: Add note about SCAN_BUILD

When running ninja scan-build you can use the environment variable
SCAN_BUILD to choose the right executable.
pull/2651/merge
Christoph Behle 7 years ago committed by Jussi Pakkanen
parent 708cdea861
commit c653936700
  1. 6
      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.

Loading…
Cancel
Save