diff options
Diffstat (limited to 'test/CC/CC.py')
-rw-r--r-- | test/CC/CC.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/CC/CC.py b/test/CC/CC.py index 2c66040..dd93674 100644 --- a/test/CC/CC.py +++ b/test/CC/CC.py @@ -42,7 +42,11 @@ import sys args = sys.argv[1:] while args: a = args[0] - if a[0] != '/': + if a == '-o': + out = args[1] + args = args[2:] + continue + if not a[0] in '/-': break args = args[1:] if a[:5].lower() == '/out:': out = a[5:] @@ -60,6 +64,10 @@ args = sys.argv[1:] inf = None while args: a = args[0] + if a == '-o': + out = args[1] + args = args[2:] + continue args = args[1:] if a[0] != '/': if not inf: |