From b856e7ae3cb135508425af89f29a71888b2c0150 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Fri, 4 Jun 2021 15:56:53 -0700 Subject: [PATCH] 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. --- tools/ci_build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index ccba55b0ea..57ad666e37 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -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(