Hi,
The src-prefix flag to the Capnp schema compiler appears to be affected by the import-path flag in version 0.7.0:
Given a schema file in the directory structure
src/A/B.capnp
% capnp compile -oc++ --src-prefix=src src/A/B.capnp
results in the following files being generated:
./A/B.capnp.h
./A/B.capnp.c++
..however, running
% capnp compile -oc++ --src-prefix=src --import-path src/A src/A/B.capnp
the generated files lose their subdirectory structure:
When using version 0.6.1 of the compiler, the subdirectory ./A is generated in both cases.
Is this behaviour change intentional?
Regards,
Vaci