File: perform-cppcheck

package info (click to toggle)
cegui-mk2 0.8.7%2Bgit20220615-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 57,824 kB
  • sloc: cpp: 306,263; python: 1,175; ansic: 812; sh: 616; xml: 191; java: 162; makefile: 21
file content (14 lines) | stat: -rwxr-xr-x 260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

jobs=1
if [ -f /proc/cpuinfo ]
then
    jobs=`cat /proc/cpuinfo | grep processor | wc -l`
fi

# allow overwriting the number of jobs
if [ -n "$1" ]; then jobs=$1; fi

cppcheck -j $jobs --enable=all -f \
-I cegui/include cegui/ 2> cppcheck-output