[odb-users] Options --output-dir and --include-prefix
Boris Kolpackov
boris at codesynthesis.com
Thu Mar 10 10:16:39 EST 2016
Hi Michael,
Michael Martín Moro <sexymimi64 at gmail.com> writes:
> I'm using --output-dir to generate the files in "lib/odb", and
> include-prefix to specify that the models are in "app/models".
>
> The odb compiler works with that, but it generates some faulty includes.
The --include-prefix option is meant for a (fairly common) situation
where you want to include everything (i.e., the object model headers
and ODB-generated headers) with the same prefix, say #include <foo/...>.
If you want to include object model and ODB headers differently, then
you will need to use --include-regex to process them differently.
Boris
More information about the odb-users
mailing list