aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/msvc-autogen.py
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-26 11:27:16 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-26 11:29:36 +0200
commit05b2d9fe076233961ebf24e74d47c57cc0618bbb (patch)
treea4111281364e23cc0d6fc98b0a8f2c15965bd3c6 /build_msvc/msvc-autogen.py
parent460c6c724850f6bf1153000b060189332ebbdb35 (diff)
downloadbitcoin-05b2d9fe076233961ebf24e74d47c57cc0618bbb.tar.xz
build: Bump default `PlatformToolset` for Visual Studio 2022
Diffstat (limited to 'build_msvc/msvc-autogen.py')
-rwxr-xr-xbuild_msvc/msvc-autogen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_msvc/msvc-autogen.py b/build_msvc/msvc-autogen.py
index 819fe1b7ae..c4ea598aa0 100755
--- a/build_msvc/msvc-autogen.py
+++ b/build_msvc/msvc-autogen.py
@@ -9,7 +9,7 @@ import argparse
from shutil import copyfile
SOURCE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src'))
-DEFAULT_PLATFORM_TOOLSET = R'v142'
+DEFAULT_PLATFORM_TOOLSET = R'v143'
libs = [
'libbitcoin_cli',
@@ -93,7 +93,7 @@ def set_properties(vcxproj_filename, placeholder, content):
def main():
parser = argparse.ArgumentParser(description='Bitcoin-core msbuild configuration initialiser.')
parser.add_argument('-toolset', nargs='?', default=DEFAULT_PLATFORM_TOOLSET,
- help='Optionally sets the msbuild platform toolset, e.g. v142 for Visual Studio 2019.'
+ help='Optionally sets the msbuild platform toolset, e.g. v142 for Visual Studio 2019, or v143 for Visual Studio 2022.'
' default is %s.'%DEFAULT_PLATFORM_TOOLSET)
args = parser.parse_args()
set_properties(os.path.join(SOURCE_DIR, '../build_msvc/common.init.vcxproj'), '@TOOLSET@', args.toolset)