for include in options.cpp_includes:
cc_args.append('-I' + include)
cc_args.extend(['-c', '-o', o_path, c_path])
- print "%r" % (cc_args, )
subprocess.check_call(cc_args)
bin_path = mktmp(tmpdir, nsname, nsver, '')
# from gir-repository. Right now those don't define new GTypes, so we
# don't need to introspect them.
ld_args.append('-l'+options.libraries[0])
- print "%r" % (ld_args, )
subprocess.check_call(ld_args)
os.unlink(c_path)
args = self._binary.args
args.append(introspect_arg)
# Invoke the binary, having written our get_type functions to types.txt
- print args
subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr)
self._read_introspect_dump(out_path)