Skip to content

Commit 5d118fa

Browse files
committed
Merge #14973: doc: Improve Windows native build instructions
5237850 Modify build instructions to work with Command Prompt as well as PowerShell; other minor changes (Murray Nesbitt) Pull request description: The current instructions assume usage of `PowerShell`; running in a `Command Prompt` results in a syntax error. Proposed change works with both `Command Prompt` and `PowerShell`. Also a few other minor formatting changes. Tree-SHA512: 5f8782d8706c99d7680db01e560ccd823c8442f0f19b65ae54183a810994418d168527bbf3430fa5d88b3a55264e66ef08fe1f5949cce810b0a103a6b55ea363
2 parents 80d8216 + 5237850 commit 5d118fa

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

build_msvc/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,13 @@ Additional dependencies required from the [bitcoin-core](https://github.com/bitc
3131

3232
Building
3333
---------------------
34-
The instructions below use vcpkg to install the dependencies.
34+
The instructions below use `vcpkg` to install the dependencies.
3535

36-
- Clone and vcpkg from the [github repository](https://github.com/Microsoft/vcpkg) and install as per the instructions in the main README.md.
36+
- Clone `vcpkg` from the [github repository](https://github.com/Microsoft/vcpkg) and install as per the instructions in the main README.md.
3737
- Install the required packages (replace x64 with x86 as required):
38-
- Install the required dependencies with vcpkg:
3938

4039
```
41-
PS >.\vcpkg install boost:x64-windows-static `
42-
libevent:x64-windows-static `
43-
openssl:x64-windows-static `
44-
zeromq:x64-windows-static `
45-
berkeleydb:x64-windows-static `
46-
secp256k1:x64-windows-static `
47-
leveldb:x64-windows-static
40+
PS >.\vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb
4841
```
4942

5043
- Use Python to generate *.vcxproj from Makefile
@@ -53,4 +46,4 @@ The instructions below use vcpkg to install the dependencies.
5346
PS >python msvc-autogen.py
5447
```
5548

56-
- Build in Visual Studio.
49+
- Build in Visual Studio.

0 commit comments

Comments
 (0)