Add VC 2019 path location

This commit is contained in:
Jason Erickson 2020-10-28 12:50:57 -06:00 committed by Daniele Varrazzo
parent 7cd7b97d5d
commit ec39e1e406

View File

@ -763,10 +763,16 @@ class Options:
"""
The path of the Visual C compiler.
"""
return Path(
if self.vs_ver == '16.0':
path = Path(
r"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"
)
else:
path = Path(
r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC"
% self.vs_ver
)
return path
@property
def vs_ver(self):