mirror of https://github.com/PCSX2/pcsx2.git
build.sh: reduce the number of define for cppcheck analysis + add cdvd giga
This commit is contained in:
parent
1a5f01ca9f
commit
28e1f87d9e
5
build.sh
5
build.sh
|
@ -198,12 +198,13 @@ if [ "$cppcheck" -eq 1 ] && command -v cppcheck >/dev/null ; then
|
||||||
|
|
||||||
define=""
|
define=""
|
||||||
for undef in _WINDOWS _M_AMD64 _MSC_VER WIN32 __INTEL_COMPILER __x86_64__ \
|
for undef in _WINDOWS _M_AMD64 _MSC_VER WIN32 __INTEL_COMPILER __x86_64__ \
|
||||||
__SSE4_1__ __SSSE3__ __SSE__ __AVX2__ __USE_ISOC11 ASAN_WORKAROUND ENABLE_OPENCL ENABLE_OGL_DEBUG
|
__SSE4_1__ __SSSE3__ __SSE__ __AVX2__ __USE_ISOC11 ASAN_WORKAROUND ENABLE_OPENCL ENABLE_OGL_DEBUG \
|
||||||
|
XBYAK_USE_MMAP_ALLOCATOR MAP_ANONYMOUS MAP_ANON XBYAK_DISABLE_AVX512
|
||||||
do
|
do
|
||||||
define="$define -U$undef"
|
define="$define -U$undef"
|
||||||
done
|
done
|
||||||
check="--enable=warning,style,missingInclude"
|
check="--enable=warning,style,missingInclude"
|
||||||
for d in pcsx2 common plugins/GSdx plugins/spu2\-x plugins/onepad
|
for d in pcsx2 common plugins/GSdx plugins/spu2\-x plugins/onepad plugins/cdvdGigaherz
|
||||||
do
|
do
|
||||||
flat_d=$(echo $d | sed -e 's@/@_@')
|
flat_d=$(echo $d | sed -e 's@/@_@')
|
||||||
log=cpp_check__${flat_d}.log
|
log=cpp_check__${flat_d}.log
|
||||||
|
|
Loading…
Reference in New Issue