Skip to content

Commit e659923

Browse files
committed
just always use VS 2022
1 parent 5637242 commit e659923

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,13 @@ def libs(clean, static, shared, skip_formatter, just_release):
282282

283283
if PLATFORM == 'win':
284284
generator_static = 'Visual Studio 17 2022'
285-
generator32_dynamic = 'Visual Studio 14 2015'
286-
generator64_dynamic = 'Visual Studio 14 2015 Win64'
285+
generator_dynamic = 'Visual Studio 17 2022'
287286
if static:
288287
build_lib('win32-static', generator_static, "Win32", static_options, just_release)
289288
build_lib('win64-static', generator_static, "x64", static_options, just_release)
290289
if shared:
291-
build_lib('win32-dynamic', generator32_dynamic, None, dynamic_options, just_release)
292-
build_lib('win64-dynamic', generator64_dynamic, None, dynamic_options, just_release)
290+
build_lib('win32-dynamic', generator_dynamic, "Win32", dynamic_options, just_release)
291+
build_lib('win64-dynamic', generator_dynamic, "x64", dynamic_options, just_release)
293292
elif PLATFORM == 'osx':
294293
if static:
295294
build_lib('osx-static', None, None, static_options, just_release)

0 commit comments

Comments
 (0)