Re: [capnproto] compiling with automake

2021-10-21 Thread 'Kenton Varda' via Cap'n Proto
Once the capnp subproject build is done, you should be able to invoke the `capnp` compiler straight from the subproject location. I think you'd have to write a raw make rule that invokes the compiler. You can see how Cap'n Proto's own build does this here: https://github.com/capnproto/capnproto/bl

Re: [capnproto] compiling with automake

2021-10-21 Thread SR D
Hi Kenton, I don't have an issue with setting up and building libraries and linking my own programs to external libs like capnproto using Autotools. My problem is that, I have a test.capnp file and I don't know how to call/run the capnp tool via a Makefile.am to produce the *.capnp.h and *.capn

Re: [capnproto] compiling with automake

2021-10-21 Thread 'Kenton Varda' via Cap'n Proto
It should work as a subpackage. See: https://www.gnu.org/software/automake/manual/html_node/Subpackages.html -Kenton On Thu, Oct 21, 2021 at 12:45 PM SR D < software.research.developm...@gmail.com> wrote: > I would like to make use of capnproto in an autotools project and > wondering if anyone

[capnproto] compiling with automake

2021-10-21 Thread SR D
I would like to make use of capnproto in an autotools project and wondering if anyone has any references or examples as to how to do basic compiling with a Makefile.am. Especially w.r.t. the cmake equivalent of capnp_generate_cpp(). Any help appreciated. -- You received this message becau