Skip to content

Commit

Permalink
examples: cpp: Update instructions to CMake standalone project example
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin authored and patrickelectric committed Mar 15, 2024
1 parent 28cc4db commit 963705c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to use

For BlueOS (red-pill)
## Running example on BlueOS (red-pill)

```shell
# Prepare the environment with cmake and cargo
Expand All @@ -19,3 +19,10 @@ cmake -B build -DCMAKE_BUILD_TYPE=Debug && cmake --build build --config Debug --
./build/simple

```

## Using Standalone Version
Rename the CMakeLists_Standalone to CMakeLists.
By default Standalone project will use latest versions, but a version can be selected as follows:
```shell
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DNAVIGATOR_VERSION="0.0.1" && cmake --build build --config Debug --parallel
```

0 comments on commit 963705c

Please sign in to comment.