Skip to content

Commit

Permalink
Merge bitcoin/bitcoin#31731: doc: update translation generation cmake…
Browse files Browse the repository at this point in the history
… example

758a93d doc: update translation generation cmake example (Lőrinc)

Pull request description:

  While investigating bitcoin/bitcoin#31730 I noticed that
  * the `dev-mode` preset already contained [`-DWITH_BDB=ON`](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L83) and [`-DBUILD_GUI=ON`](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L70);
  * the preset already contained a [default binary dir](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L64) which we could use;
  * the command only runs on my Mac if we disable `USDT`, and `MULTIPROCESS` and on Linux also without `MULTIPROCESS`.

ACKs for top commit:
  hebasto:
    ACK 758a93d.

Tree-SHA512: f5bef99bff090f53dae04018f17e60655698fea23084f6a3d38affd830ca041d5c56466633206b63ae01e85c55b784d003e323b2de7c59028b595d4e8f50783c
  • Loading branch information
fanquake committed Feb 20, 2025
2 parents eb51963 + 758a93d commit f236854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/translation_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ We use automated scripts to help extract translations in both Qt, and non-Qt sou

To automatically regenerate the `bitcoin_en.ts` file, run the following commands:
```sh
cmake -B build --preset dev-mode -DWITH_BDB=ON -DBUILD_GUI=ON
cmake --build build --target translate
cmake --preset dev-mode -DWITH_USDT=OFF
cmake --build build_dev_mode --target translate
```

**Example Qt translation**
Expand Down

0 comments on commit f236854

Please sign in to comment.