Skip to content

Commit

Permalink
doc: Improve cmake instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
fjahr committed Nov 26, 2024
1 parent 8deef00 commit 6eb1397
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@ To maintain a pristine source tree, CMake encourages to perform an out-of-source

### Building on POSIX systems

$ mkdir build && cd build
$ cmake ..
$ cmake --build .
$ ctest # run the test suite
$ sudo cmake --install . # optional
$ cmake -B build
$ cmake --build build
$ ctest --test-dir build # run the test suite
$ sudo cmake --install build # 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 6eb1397

Please sign in to comment.