Hi Stephan,

Yes. Example:

  capnp compile --src-prefix=src -oc++:out src/file.capnp

The output will go to "out/file.capnp.{h,c++}".

For more info, try: capnp help compile

-Kenton

On Wed, Mar 29, 2017 at 3:57 AM, Stephan Opfer <[email protected]>
wrote:

> Hi,
>
> is it possible to generate the header file of a capnp message into another
> folder than the cpp file?
>
> Greetings,
>   Stephan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to