2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

Bind setup_msvc and setup_ifort as configuration methods

This commit is contained in:
Thomas Nagy 2016-05-22 17:11:29 +02:00
parent 9c44a4b360
commit 1eb45162b1
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,7 @@ def gather_ifort_versions(conf, versions):
major = version[0:2]
versions.append(('intel ' + major, targets))
@conf
def setup_ifort(conf, versions, arch = False):
"""
Checks installed compilers and targets and returns the first combination from the user's

View File

@ -96,6 +96,7 @@ def options(opt):
opt.add_option('--msvc_targets', type='string', help = 'msvc targets, eg: "x64,arm"', default='')
opt.add_option('--no-msvc-lazy', action='store_false', help = 'lazily check msvc target environments', default=True, dest='msvc_lazy')
@conf
def setup_msvc(conf, versions, arch=False):
"""
Checks installed compilers and targets and returns the first combination from the user's