You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
05b2d9f build: Bump default `PlatformToolset` for Visual Studio 2022 (Hennadii Stepanov)
460c6c7 doc: Make Windows build docs match the CI task (Hennadii Stepanov)
849cf96 ci: Increase CPU number for "Win64 native" task (Hennadii Stepanov)
a18c4c1 ci: Bump vcpkg to the latest version (Hennadii Stepanov)
b9a5a9b ci: Limit ccache cache size properly on "Win64 native" task (Hennadii Stepanov)
156bc89 ci: Update Windows task image up to visualstudio2022 (Hennadii Stepanov)
Pull request description:
Besides upgrading Visual Studio, which seems [inevitable](bitcoin/bitcoin#24531 (comment)), this PR also:
- bumps vcpkg to the latest version (previous one was in bitcoin/bitcoin#24847)
- fixes cache size limit for `ccache`
ACKs for top commit:
sipsorcery:
reACK 05b2d9f.
hebasto:
> ACK [05b2d9f](bitcoin/bitcoin@05b2d9f)
jarolrod:
ACK 05b2d9f
Tree-SHA512: 6338e74a3f1907f09ca29540e9e2cf7ac3be3b9e28271e8a20e71b67a9c3d5ebb8d34528b9677bcd1d9bc0ad723d68fd2ba7db368443ed1854cca3a3961f294b
Copy file name to clipboardExpand all lines: build_msvc/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Building Bitcoin Core with Visual Studio
3
3
4
4
Introduction
5
5
---------------------
6
-
Solution and project files to build Bitcoin Core with `msbuild` or Visual Studio can be found in the `build_msvc` directory. The build has been tested with Visual Studio 2019 (building with earlier versions of Visual Studio should not be expected to work).
6
+
Solution and project files to build Bitcoin Core with `msbuild` or Visual Studio can be found in the `build_msvc` directory. The build has been tested with Visual Studio 2022 and Visual Studio 2019 (building with earlier versions of Visual Studio should not be expected to work).
7
7
8
8
To build Bitcoin Core from the command-line, it is sufficient to only install the Visual Studio Build Tools component.
9
9
@@ -30,7 +30,7 @@ To build Bitcoin Core with the GUI, a static build of Qt is required.
30
30
31
31
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-opensource-src-5.15.3.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.3/single/qt-everywhere-opensource-src-5.15.3.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
32
32
33
-
2. Open "x64 Native Tools Command Prompt for VS 2019", and input the following commands:
33
+
2. Open "x64 Native Tools Command Prompt for VS 2022", and input the following commands:
34
34
```cmd
35
35
cd C:\dev\qt-source
36
36
mkdir build
@@ -47,21 +47,21 @@ To build Bitcoin Core without Qt, unload or disable the `bitcoin-qt`, `libbitcoi
47
47
48
48
Building
49
49
---------------------
50
-
1. Use Python to generate `*.vcxproj` from Makefile:
50
+
1. Use Python to generate `*.vcxproj`for the Visual Studio 2022 toolchain from Makefile:
51
51
52
-
```
53
-
PS >py -3 msvc-autogen.py
52
+
```cmd
53
+
python build_msvc\msvc-autogen.py
54
54
```
55
55
56
56
2. An optional step is to adjust the settings in the `build_msvc` directory and the `common.init.vcxproj` file. This project file contains settings that are common to all projects such as the runtime library version and target Windows SDK version. The Qt directories can also be set. To specify a non-default path to a static Qt package directory, use the `QTBASEDIR` environment variable.
57
57
58
-
3. To build from the command-line with the Visual Studio 2019 toolchain use:
58
+
3. To build from the command-line with the Visual Studio toolchain use:
0 commit comments