Skip to content

Commit

Permalink
cmake: Recommend native CMake commands in README
Browse files Browse the repository at this point in the history
Resolves one item in bitcoin-core#1235. Closes bitcoin-core#1294.
  • Loading branch information
real-or-random authored and theStack committed Jan 24, 2024
1 parent 5ad3aa3 commit 2d2c6ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ To maintain a pristine source tree, CMake encourages to perform an out-of-source

$ mkdir build && cd build
$ cmake ..
$ make
$ make check # run the test suite
$ sudo make install # optional
$ cmake --build .
$ ctest # run the test suite
$ sudo cmake --build . --target install # optional

To compile optional modules (such as Schnorr signatures), you need to run `cmake` with additional flags (such as `-DSECP256K1_ENABLE_MODULE_SCHNORRSIG=ON`). Run `cmake .. -LH` to see the full list of available flags.

Expand Down

0 comments on commit 2d2c6ab

Please sign in to comment.