From d87fcb0760202516b26a78858e3a1e81650c1598 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 16 Sep 2011 14:02:44 +0000 Subject: - fix for memory leak in findFreeNavPolyIndex() - also correct own script for running cppcheck. --- build_files/cmake/cmake_static_check_cppcheck.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build_files') diff --git a/build_files/cmake/cmake_static_check_cppcheck.py b/build_files/cmake/cmake_static_check_cppcheck.py index 4249537eca8..6a69891c0aa 100644 --- a/build_files/cmake/cmake_static_check_cppcheck.py +++ b/build_files/cmake/cmake_static_check_cppcheck.py @@ -36,7 +36,9 @@ CHECKER_IGNORE_PREFIX = [ CHECKER_BIN = "cppcheck" CHECKER_ARGS = [ - "-I" + os.join(project_source_info.SORCE_DIR, "blender/extern/glew/include"), + # not sure why this is needed, but it is. + "-I" + os.path.join(project_source_info.SOURCE_DIR, "extern/glew/include"), + # "--check-config", # when includes are missing # "--enable=all", # if you want sixty hundred pedantic suggestions ] -- cgit v1.2.3