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>2013-08-11 03:27:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-11 03:27:42 +0400
commita62163ada389a18d11f0c085654916e2ef069a46 (patch)
treebe748d747828c3f0647b176b6408d9dd7b5875e8 /build_files
parent76cb6829e50b53211858b514f290881872a43d45 (diff)
remove unused auto-key struct-member from uiAfterFunc, add compiler defines to cppcheck utility script.
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 25e39376dd2..aac522dfdd3 100644
--- a/build_files/cmake/cmake_static_check_cppcheck.py
+++ b/build_files/cmake/cmake_static_check_cppcheck.py
@@ -52,6 +52,7 @@ if USE_QUIET:
def main():
source_info = project_source_info.build_info(ignore_prefix_list=CHECKER_IGNORE_PREFIX)
+ source_defines = project_source_info.build_defines_as_args()
check_commands = []
for c, inc_dirs, defs in source_info:
@@ -59,7 +60,8 @@ def main():
CHECKER_ARGS +
[c] +
[("-I%s" % i) for i in inc_dirs] +
- [("-D%s" % d) for d in defs]
+ [("-D%s" % d) for d in defs] +
+ source_defines
)
check_commands.append((c, cmd))