From ed070b1223b5ae411adca5b70a223f38790f4259 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Aug 2022 11:36:27 +1000 Subject: check_cppcheck: update 'glew' exclusion since it's removal --- build_files/cmake/cmake_static_check_cppcheck.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'build_files/cmake') diff --git a/build_files/cmake/cmake_static_check_cppcheck.py b/build_files/cmake/cmake_static_check_cppcheck.py index 79f9498ce2e..9c7d4cdb19c 100644 --- a/build_files/cmake/cmake_static_check_cppcheck.py +++ b/build_files/cmake/cmake_static_check_cppcheck.py @@ -22,9 +22,6 @@ CHECKER_IGNORE_PREFIX = [ CHECKER_BIN = "cppcheck" CHECKER_ARGS = [ - # not sure why this is needed, but it is. - "-I" + os.path.join(project_source_info.SOURCE_DIR, "extern", "glew", "include"), - "--suppress=*:%s/extern/glew/include/GL/glew.h:241" % project_source_info.SOURCE_DIR, "--max-configs=1", # speeds up execution # "--check-config", # when includes are missing "--enable=all", # if you want sixty hundred pedantic suggestions -- cgit v1.2.3