mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-07 17:15:29 +00:00
Update build.py: change default cmake generator for Windows to VS2019 (#7945)
VS 2019 is well tested. VS 2017 is not. We should make "Visual Studio 16 2019" as the default to not confuse people.
This commit is contained in:
parent
0975e7c9a7
commit
b856e7ae3c
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ def parse_arguments():
|
|||
parser.add_argument(
|
||||
"--cmake_generator",
|
||||
choices=['Visual Studio 15 2017', 'Visual Studio 16 2019', 'Ninja'],
|
||||
default='Visual Studio 15 2017' if is_windows() else None,
|
||||
default='Visual Studio 16 2019' if is_windows() else None,
|
||||
help="Specify the generator that CMake invokes. "
|
||||
"This is only supported on Windows")
|
||||
parser.add_argument(
|
||||
|
|
|
|||
Loading…
Reference in a new issue