svn merge ^/trunk/blender -r43564:43609
[blender.git] / build_files / cmake / cmake_static_check_cppcheck.py
index a9ab22ca98b8d2a91ac62697ca12331bfd0f5f37..aba199876981f3f2ecc663c91881a70a2d0ce420 100644 (file)
@@ -37,7 +37,8 @@ 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
     ]