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>2012-12-09 18:17:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-09 18:17:33 +0400
commit7376fb29133b501843927a30b3e6274917e82f77 (patch)
tree421022e91c32f89650374715e088bf420b6e7de8 /build_files
parent98fab9e530bae7c031701aed3e5140494470f850 (diff)
make cppcheck run with quiet flag when QUIET env var is set, make bpy.ops.image.project_apply() only use local images.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/cmake_static_check_cppcheck.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/cmake/cmake_static_check_cppcheck.py b/build_files/cmake/cmake_static_check_cppcheck.py
index 12369a5e8cd..d79145f8586 100644
--- a/build_files/cmake/cmake_static_check_cppcheck.py
+++ b/build_files/cmake/cmake_static_check_cppcheck.py
@@ -46,6 +46,9 @@ CHECKER_ARGS = [
# "--enable=all", # if you want sixty hundred pedantic suggestions
]
+if USE_QUIET:
+ CHECKER_ARGS.append("--quiet")
+
def main():
source_info = project_source_info.build_info(ignore_prefix_list=CHECKER_IGNORE_PREFIX)
@@ -78,6 +81,8 @@ def main():
project_source_info.queue_processes(process_functions)
+ print("Finished!")
+
if __name__ == "__main__":
main()