Commit 668c002a authored by Kenton Varda's avatar Kenton Varda

Update docs for new capnpc command line.

parent dbc3d6dc
......@@ -96,12 +96,9 @@ writing.)
To generate C++ code from your `.capnp` [interface definition](language.html), run:
capnpc myproto.capnp
capnpc -oc++ myproto.capnp
This will create `myproto.capnp.h` and `myproto.capnp.c++` in the same directory as `myproto.capnp`.
(Currently, it also dumps some debug info to stdout, e.g. the offset of each field.)
_TODO: This will become more complicated later as we add support for more languages and such._
## Primitive Types
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment