mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-28 20:00:44 +00:00
build: reduce the scope of cppcheck
Faster for GSdx analysis
This commit is contained in:
parent
870e799baa
commit
2ef9b732e2
7
build.sh
7
build.sh
@ -139,8 +139,11 @@ if [[ "$cppcheck" -eq 1 ]] && [[ -x `which cppcheck` ]]; then
|
||||
rm -f $summary
|
||||
touch $summary
|
||||
|
||||
define="-U_WINDOWS -U_M_AMD64 -U_MSC_VER -UWIN32"
|
||||
#define="-D__linux__ -U_WINDOWS -U_M_AMD64 -U_MSC_VER -UWIN32"
|
||||
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
|
||||
do
|
||||
define="$define -U$undef"
|
||||
done
|
||||
check="--enable=warning,style,missingInclude"
|
||||
for d in pcsx2 common plugins/GSdx plugins/spu2\-x plugins/onepad
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user