mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 07:45:39 +07:00
16 lines
494 B
Bash
Executable File
16 lines
494 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
BUILD_DIR=`dirname "$BASH_SOURCE"`/../build
|
|
mkdir -p $BUILD_DIR/pvs_analyze
|
|
cd $BUILD_DIR/pvs_analyze
|
|
rm -rf pvs_report
|
|
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=On ../..
|
|
pvs-studio-analyzer analyze\
|
|
-e ../../untests\
|
|
-e ../../modules\
|
|
-e ../../sources/3rdparty\
|
|
-o pvs_report.log\
|
|
-j8
|
|
plog-converter -a GA:1,2 -t fullhtml -o pvs_report pvs_report.log
|
|
open pvs_report/index.html
|