[Bf-blender-cvs] [ed070b1223b] master: check_cppcheck: update 'glew' exclusion since it's removal

Campbell Barton noreply at git.blender.org
Mon Aug 22 03:40:37 CEST 2022


Commit: ed070b1223b5ae411adca5b70a223f38790f4259
Author: Campbell Barton
Date:   Mon Aug 22 11:36:27 2022 +1000
Branches: master
https://developer.blender.org/rBed070b1223b5ae411adca5b70a223f38790f4259

check_cppcheck: update 'glew' exclusion since it's removal

===================================================================

M	build_files/cmake/cmake_static_check_cppcheck.py

===================================================================

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



More information about the Bf-blender-cvs mailing list