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
replaced --enable-debug with -DCMAKE_BUILD_TYPE=Debug in developer-notes
replaced --enable-multiprocess with -DWITH_MULTIPROCESS=ON
replaced --disable-zmq with -DWITH_ZMQ=OFF
Copy file name to clipboardexpand all lines: contrib/devtools/test_deterministic_coverage.sh
+3-3
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ if ! command -v gcovr > /dev/null; then
81
81
fi
82
82
83
83
if [[ !-e${TEST_BGL_BINARY} ]];then
84
-
echo"Error: Executable ${TEST_BGL_BINARY} not found. Run \"./configure --enable-lcov\" and compile."
84
+
echo"Error: Executable ${TEST_BGL_BINARY} not found. Run \"cmake -B build -DCMAKE_BUILD_TYPE=Coverage\" and compile."
85
85
exit 1
86
86
fi
87
87
@@ -90,7 +90,7 @@ get_file_suffix_count() {
90
90
}
91
91
92
92
if [[ $(get_file_suffix_count gcno)== 0 ]];then
93
-
echo"Error: Could not find any *.gcno files. The *.gcno files are generated by the compiler. Run \"./configure --enable-lcov\" and re-compile."
93
+
echo"Error: Could not find any *.gcno files. The *.gcno files are generated by the compiler. Run \"cmake -B build -DCMAKE_BUILD_TYPE=Coverage\" and re-compile."
94
94
exit 1
95
95
fi
96
96
@@ -115,7 +115,7 @@ while [[ ${TEST_RUN_ID} -lt ${N_TEST_RUNS} ]]; do
115
115
fi
116
116
rm "${TEST_OUTPUT_TEMPFILE}"
117
117
if [[ $(get_file_suffix_count gcda)== 0 ]];then
118
-
echo"Error: Running the test suite did not create any *.gcda files. The gcda files are generated when the instrumented test programs are executed. Run \"./configure --enable-lcov\" and re-compile."
118
+
echo"Error: Running the test suite did not create any *.gcda files. The gcda files are generated when the instrumented test programs are executed. Run \"cmake -B build -DCMAKE_BUILD_TYPE=Coverage\" and re-compile."
Copy file name to clipboardexpand all lines: doc/design/libraries.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
|*libBGL_crypto*| Hardware-optimized functions for data encryption, hashing, message authentication, and key derivation. |
9
9
|*libBGL_kernel*| Consensus engine and support library used for validation by *libBGL_node*. |
10
10
|*libBGLqt*| GUI functionality used by *BGL-qt* and *BGL-gui* executables. |
11
-
|*libBGL_ipc*| IPC functionality used by *BGL-node*, *BGL-wallet*, *BGL-gui* executables to communicate when [`--enable-multiprocess`](multiprocess.md) is used. |
11
+
|*libBGL_ipc*| IPC functionality used by *BGL-node*, *BGL-wallet*, *BGL-gui* executables to communicate when [`-DWITH_MULTIPROCESS=ON`](multiprocess.md) is used. |
12
12
|*libBGL_node*| P2P and RPC server functionality used by *BGLd* and *BGL-qt* executables. |
13
13
|*libBGL_util*| Home for common functionality shared by different executables and libraries. Similar to *libBGL_common*, but lower-level (see [Dependencies](#dependencies)). |
14
14
|*libBGL_wallet*| Wallet functionality used by *BGLd* and *BGL-wallet* executables. |
Copy file name to clipboardexpand all lines: doc/multiprocess.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ _This document describes usage of the multiprocess feature. For design informati
4
4
5
5
## Build Option
6
6
7
-
On unix systems, the `--enable-multiprocess` build option can be passed to `./configure` to build new `bitcoin-node`, `bitcoin-wallet`, and `bitcoin-gui`executables alongside existing `bitcoind` and `bitcoin-qt` executables.
7
+
On Unix systems, the `-DWITH_MULTIPROCESS=ON` build option can be passed to build the supplemental `bitcoin-node`and `bitcoin-gui`multiprocess executables.
8
8
9
9
## Debugging
10
10
@@ -17,15 +17,15 @@ The multiprocess feature requires [Cap'n Proto](https://capnproto.org/) and [lib
The configure script will pick up settings and library locations from the depends directory, so there is no need to pass `--enable-multiprocess` as a separate flag when using the depends system (it's controlled by the `MULTIPROCESS=1` option).
26
+
The `cmake` build will pick up settings and library locations from the depends directory, so there is no need to pass `-DWITH_MULTIPROCESS=ON` as a separate flag when using the depends system (it's controlled by the `MULTIPROCESS=1` option).
27
27
28
-
Alternately, you can install [Cap'n Proto](https://capnproto.org/) and [libmultiprocess](https://github.com/chaincodelabs/libmultiprocess) packages on your system, and just run `./configure --enable-multiprocess` without using the depends system. The configure script will be able to locate the installed packages via [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/). See [Installation](https://github.com/chaincodelabs/libmultiprocess/blob/master/doc/install.md) section of the libmultiprocess readme for install steps. See [build-unix.md](build-unix.md) and [build-osx.md](build-osx.md) for information about installing dependencies in general.
28
+
Alternately, you can install [Cap'n Proto](https://capnproto.org/) and [libmultiprocess](https://github.com/chaincodelabs/libmultiprocess) packages on your system, and just run `cmake -B build -DWITH_MULTIPROCESS=ON` without using the depends system. The `cmake` build will be able to locate the installed packages via [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/). See [Installation](https://github.com/chaincodelabs/libmultiprocess/blob/master/doc/install.md) section of the libmultiprocess readme for install steps. See [build-unix.md](build-unix.md) and [build-osx.md](build-osx.md) for information about installing dependencies in general.
Copy file name to clipboardexpand all lines: doc/translation_strings_policy.md
+5-9
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
-
Translation Strings Policy
2
-
===========================
1
+
# Translation Strings Policy
3
2
4
3
This document provides guidelines for internationalization of the BGL Core software.
5
4
6
-
How to translate?
7
-
------------------
5
+
## How to translate?
8
6
9
7
To mark a message as translatable
10
8
@@ -14,8 +12,7 @@ To mark a message as translatable
14
12
15
13
No internationalization is used for e.g. developer scripts outside `src`.
16
14
17
-
Strings to be translated
18
-
-------------------------
15
+
## Strings to be translated
19
16
20
17
On a high level, these strings are to be translated:
21
18
@@ -27,8 +24,7 @@ Do not translate technical or extremely rare errors.
27
24
Anything else that appears to the user in the GUI is to be translated. This includes labels, menu items, button texts, tooltips and window titles.
28
25
This includes messages passed to the GUI through the UI interface through `InitMessage`, `ThreadSafeMessageBox` or `ShowProgress`.
29
26
30
-
General recommendations
31
-
------------------------
27
+
## General recommendations
32
28
33
29
### Avoid unnecessary translation strings
34
30
@@ -97,4 +93,4 @@ The second example reduces the number of pluralized words that translators have
97
93
98
94
During a string freeze (often before a major release), no translation strings are to be added, modified or removed.
99
95
100
-
This can be checked by executing `make translate`in the `src` directory, then verifying that `BGL_en.ts` remains unchanged.
96
+
This can be checked by building the `translate`target with `cmake` ([instructions](translation_process.md)), then verifying that `BGL_en.ts` remains unchanged.
0 commit comments