mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 10:11:05 +01:00
Cleanup
This commit is contained in:
parent
15985db73d
commit
56b84dc5a5
@ -43,6 +43,7 @@ NEW IN WAF 1.9 preview 2
|
||||
- Remove Task.dep_vars as it is never used (define Task.vars on instances if necessary)
|
||||
- Remove the unused attribute 'mac_resources', use 'mac_files' instead (see demos/mac_app)
|
||||
- Remove qt4 and kde4 from the default modules
|
||||
- Refactored msvc.py
|
||||
- Task.sig_vars, Task.sig_explit_deps and Task.sig_implicit_deps return None
|
||||
- Use relative paths in apply_incpaths by default (and absolute ones when paths cross drives)
|
||||
- Modify Utils.run_once so that it accepts a list of *args
|
||||
|
@ -327,11 +327,11 @@ def gather_msvc_detected_versions():
|
||||
break
|
||||
index += 1
|
||||
match = version_pattern.match(version)
|
||||
if not match:
|
||||
continue
|
||||
else:
|
||||
if match:
|
||||
versionnumber = float(match.group(1))
|
||||
detected_versions.append((versionnumber, version+vcvar, prefix+"\\"+version))
|
||||
else:
|
||||
continue
|
||||
detected_versions.append((versionnumber, version+vcvar, prefix+'\\'+version))
|
||||
def fun(tup):
|
||||
return tup[0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user