Display @argfile contents in msvcdeps #1831

This commit is contained in:
Thomas Nagy 2016-10-11 18:34:35 +02:00
parent 44dec78555
commit 3e47e4250e
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
1 changed files with 3 additions and 5 deletions

View File

@ -18,10 +18,7 @@ down to post_run() is cribbed from gccdeps.py.
This affects the cxx class, so make sure to load Qt5 after this tool.
'''
import os
import sys
import tempfile
import threading
import os, sys, tempfile, threading
from waflib import Context, Errors, Logs, Task, Utils
from waflib.Tools import c_preproc, c, cxx, msvc
@ -203,7 +200,8 @@ def exec_command(self, cmd, **kw):
kw['output'] = Context.STDOUT
out = []
if Logs.verbose:
Logs.debug('argfile: @%r -> %r', tmp, args)
try:
raw_out = self.generator.bld.cmd_and_log(cmd + ['@' + tmp], **kw)
ret = 0