use newest visual studio as generator if multiple installed

This commit is contained in:
Ehsan Azarnasab 2015-08-27 08:22:09 -07:00
parent 61ec7aa862
commit 2fee9b3915

View File

@ -236,6 +236,7 @@ def get_msvc_win64_generator():
if ver > newest_ver:
newest_vs = gen_name
newest_ver = ver
if newest_vs:
return ['-G', newest_vs + ' Win64']