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:
parent
9c44a4b360
commit
1eb45162b1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user