cmake: Recommend native CMake commands in README
Resolves one item in #1235. Closes #1294.
This commit is contained in:
@@ -79,9 +79,9 @@ To maintain a pristine source tree, CMake encourages to perform an out-of-source
|
|||||||
|
|
||||||
$ mkdir build && cd build
|
$ mkdir build && cd build
|
||||||
$ cmake ..
|
$ cmake ..
|
||||||
$ make
|
$ cmake --build .
|
||||||
$ make check # run the test suite
|
$ ctest # run the test suite
|
||||||
$ sudo make install # optional
|
$ 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user