1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Add install in cpu_features README.md file

This commit is contained in:
Carles Fernandez 2022-07-16 10:35:54 +02:00
parent cfb9c428f4
commit 6146dc3cd4
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -208,7 +208,6 @@ Please check the [CMake build instructions](cmake/README.md).
### Quickstart ### Quickstart
- Run `list_cpu_features` - Run `list_cpu_features`
```sh ```sh
cmake -S. -Bbuild -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release cmake -S. -Bbuild -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j cmake --build build --config Release -j
@ -219,7 +218,6 @@ Please check the [CMake build instructions](cmake/README.md).
`XCode`. `XCode`.
- run tests - run tests
```sh ```sh
cmake -S. -Bbuild -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug cmake -S. -Bbuild -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug -j cmake --build build --config Debug -j
@ -229,8 +227,7 @@ Please check the [CMake build instructions](cmake/README.md).
_Note_: Use `--target RUN_TESTS` on the last line for `Visual Studio` and _Note_: Use `--target RUN_TESTS` on the last line for `Visual Studio` and
`--target RUN_TEST` for `XCode`. `--target RUN_TEST` for `XCode`.
* install `cpu_features` - install `cpu_features`
```sh ```sh
cmake --build build --config Release --target install -v cmake --build build --config Release --target install -v
``` ```
@ -239,8 +236,8 @@ Please check the [CMake build instructions](cmake/README.md).
_Note_: When using `Makefile` or `XCode` generator, you can use _Note_: When using `Makefile` or `XCode` generator, you can use
[`DESTDIR`](https://www.gnu.org/software/make/manual/html_node/DESTDIR.html) [`DESTDIR`](https://www.gnu.org/software/make/manual/html_node/DESTDIR.html)
to install on a local repository.<br> e.g. to install on a local repository.<br>
e.g.
```sh ```sh
cmake --build build --config Release --target install -v -- DESTDIR=install cmake --build build --config Release --target install -v -- DESTDIR=install
``` ```