Merge bitcoin/bitcoin#33789: doc: add cmake help option in Windows build docs

9577daa3b8 doc: Add cmake help option in Windows build instructions (frankomosh)

Pull request description:

  Follow-up to #33088.

  Adds `cmake -B build -LH` documentation to Windows build guides, similar to Unix build documentation.

  Based on the suggestion and example provided by stickies-v in #33088, with minor adjustment to match existing indented code block format in `build-windows.md`.

  Tested for:
  - WSL Ubuntu with mingw-w64 cross-compilation
  - Windows 11 with Visual Studio 2022 (MSVC)

ACKs for top commit:
  waketraindev:
    ACK 9577daa
  stickies-v:
    ACK 9577daa3b8
  hebasto:
    ACK 9577daa3b8.
  pablomartin4btc:
    ACK 9577daa3b8

Tree-SHA512: a9c08944aff962a61d0111317b79cbb44368e85d0255daf8d3c229c6532cf8c11046fe6bba81025ef994d92b4324247ec75f5bdaf4a89b3ef403c5be37e63bd8
This commit is contained in:
merge-script committed 2025-11-07 11:05:28 +00:00
commit 0b45e6db10
2 files changed
+5

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ CMake will put the resulting object files, libraries, and executables into a ded
In the following instructions, the "Debug" configuration can be specified instead of the "Release" one. In the following instructions, the "Debug" configuration can be specified instead of the "Release" one.
Run `cmake -B build -LH` to see the full list of available options.
### 4. Building with Static Linking with GUI ### 4. Building with Static Linking with GUI
``` ```
+3
View File
@@ -49,6 +49,9 @@ Build using:
gmake -C depends HOST=x86_64-w64-mingw32 # Append "-j N" for N parallel jobs. gmake -C depends HOST=x86_64-w64-mingw32 # Append "-j N" for N parallel jobs.
cmake -B build --toolchain depends/x86_64-w64-mingw32/toolchain.cmake cmake -B build --toolchain depends/x86_64-w64-mingw32/toolchain.cmake
Run `cmake -B build -LH` to see the full list of available options.
cmake --build build # Append "-j N" for N parallel jobs. cmake --build build # Append "-j N" for N parallel jobs.
## Depends system ## Depends system