cmake: Recommend native CMake commands in README

Resolves one item in #1235. Closes #1294.
This commit is contained in:
Tim Ruffing
2024-01-17 15:19:53 +01:00
parent e4af41c61b
commit 3777e3f36a

View File

@@ -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.