mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 07:45:39 +07:00
Merge branch 'feature/asset_dependencies' into feature/gobject
This commit is contained in:
15
scripts/pvs_analyze.sh
Executable file
15
scripts/pvs_analyze.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user