Merge #14973: doc: Improve Windows native build instructions

523785042b 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
This commit is contained in:
Wladimir J. van der Laan 2018-12-28 11:55:32 +01:00
commit 5d118faabf
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -31,20 +31,13 @@ Additional dependencies required from the [bitcoin-core](https://github.com/bitc
Building Building
--------------------- ---------------------
The instructions below use vcpkg to install the dependencies. The instructions below use `vcpkg` to install the dependencies.
- Clone and vcpkg from the [github repository](https://github.com/Microsoft/vcpkg) and install as per the instructions in the main README.md. - Clone `vcpkg` from the [github repository](https://github.com/Microsoft/vcpkg) and install as per the instructions in the main README.md.
- Install the required packages (replace x64 with x86 as required): - Install the required packages (replace x64 with x86 as required):
- Install the required dependencies with vcpkg:
``` ```
PS >.\vcpkg install boost:x64-windows-static ` PS >.\vcpkg install --triplet x64-windows-static boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb
libevent:x64-windows-static `
openssl:x64-windows-static `
zeromq:x64-windows-static `
berkeleydb:x64-windows-static `
secp256k1:x64-windows-static `
leveldb:x64-windows-static
``` ```
- Use Python to generate *.vcxproj from Makefile - Use Python to generate *.vcxproj from Makefile
@ -53,4 +46,4 @@ The instructions below use vcpkg to install the dependencies.
PS >python msvc-autogen.py PS >python msvc-autogen.py
``` ```
- Build in Visual Studio. - Build in Visual Studio.