Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
668c002a
Commit
668c002a
authored
Apr 05, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for new capnpc command line.
parent
dbc3d6dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
cxx.md
doc/cxx.md
+1
-4
No files found.
doc/cxx.md
View file @
668c002a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment