diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-16 18:02:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-16 18:02:44 +0400 |
commit | d87fcb0760202516b26a78858e3a1e81650c1598 (patch) | |
tree | fb0247a0099229bbfd751a9eae13d7dff4fd175e /build_files/cmake | |
parent | c912af36cac3b6cbab7a6a9ccbb98c987b771d7d (diff) |
- fix for memory leak in findFreeNavPolyIndex()
- also correct own script for running cppcheck.
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/cmake_static_check_cppcheck.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 ] |