Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-16 18:02:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-16 18:02:44 +0400
commitd87fcb0760202516b26a78858e3a1e81650c1598 (patch)
treefb0247a0099229bbfd751a9eae13d7dff4fd175e /build_files
parentc912af36cac3b6cbab7a6a9ccbb98c987b771d7d (diff)
- fix for memory leak in findFreeNavPolyIndex()
- also correct own script for running cppcheck.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/cmake_static_check_cppcheck.py4
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
]