Skip to content

Commit 1a85da5

Browse files
committed
Merge #202: doc: correct the build instructions for the example
b6d3dc4 doc: correct the build instructions for example (Novo) Pull request description: The make target to build the example executable is "mpexample", not "example", so `make example` does nothing. This PR changes the documentation to use "mpexamples", because that builds the calculator, printer and example executables. ACKs for top commit: Sjors: ACK b6d3dc4 ismaelsadeeq: ACK b6d3dc4 ryanofsky: Code review ACK b6d3dc4. Thanks for the fix! Tree-SHA512: 7573537915b7cccf6cf4f951abf4216eebddb39383ccadd06a516cd71821bb7b657b3a0d465ecf2673a6006f3b88f7ee60b7bc34fe6ccf27b17a846b43293c72
2 parents df01873 + b6d3dc4 commit 1a85da5

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)