Hello,
In my project, I have a 'schema.capnp' in '/home/jack/project/a/' directory.
Now, I've a 'CMakeLists.txt' file in '/home/jack/project/b/' directory and
I want to generate
'schema.capnp.c++' and 'schema.capnp.h' file from 'schema.capnp' placed in
'/home/jack/project/a/' directory.
The output/generated files, i.e., .c++ and .h files, should also be placed
in '/home/jack/project/a/' directory.
What I try to do in file in '/home/jack/project/b/CMakeLists.txt' directory
is the following:
set(CAPNPC_OUTPUT_DIR ${PROJECT_SOURCE_DIR}/a/)
capnp_generate_cpp(CAPNP_SRCS CAPNP_HDRS ../a/schema.capnp)
However, this fails.
Is it possible to do so and if yes, how?
Thanks,
Jagdish
--
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.