~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to build_files/cmake/cmake_static_check_sparse.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
def main():
44
44
    source_info = project_source_info.build_info(use_cxx=False, ignore_prefix_list=CHECKER_IGNORE_PREFIX)
 
45
    source_defines = project_source_info.build_defines_as_args()
45
46
 
46
47
    check_commands = []
47
48
    for c, inc_dirs, defs in source_info:
50
51
               CHECKER_ARGS +
51
52
               [c] +
52
53
               [("-I%s" % i) for i in inc_dirs] +
53
 
               [("-D%s" % d) for d in defs]
 
54
               [("-D%s" % d) for d in defs] +
 
55
               source_defines
54
56
               )
55
57
 
56
58
        check_commands.append((c, cmd))