Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatryk Obara <dreamer.tan@gmail.com>2021-02-01 02:58:57 +0300
committerPatryk Obara <patryk.obara@gmail.com>2021-02-01 18:18:47 +0300
commit694355a84ebf9b7dda212e5a26c549cf3adea4b5 (patch)
treec653b2816401ee95d522de1fd5adc1c640c2ab8a /BUILD.md
parentf184e5f8e9ab9b1fe3689f6a42ce2ae224b0fd36 (diff)
Document running static analysis
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index fa4f9c8da..2e2e302f9 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -537,3 +537,23 @@ meson setup -Db_coverage=true build
meson test -C build
ninja -C build coverage-html
```
+
+### Static analysis report
+
+Prerequisites:
+
+``` shell
+# Fedora
+sudo dnf install clang-analyzer
+```
+``` shell
+# Debian, Ubuntu
+sudo apt install clang-tools
+```
+
+Build and generate report:
+
+``` shell
+meson setup build
+ninja -C build scan-build
+```