Skip to content

Commit c157fd4

Browse files
committed
doc: correct the build instructions for example
The cmake target to build the example executable is "mpexample" not "example". This commit uses "mpexamples" in the doc, because that builds the calculator, printer and example executables.
1 parent 1b8d4a6 commit c157fd4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/usage.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ A simple interface description can be found at [test/mp/test/foo.capnp](../test/
1919
A more complete example can be found in [example](../example/) and run with:
2020

2121
```sh
22-
make -C build example
23-
build/example/mpexample
22+
mkdir build
23+
cd build
24+
cmake ..
25+
make mpexamples
26+
example/mpexample
2427
```

0 commit comments

Comments
 (0)