[odb-users] Include from different subfolder in *-odb.hxx files

Boris Kolpackov boris at codesynthesis.com
Mon Jan 27 08:50:34 EST 2020

Adnan RIHAN <adnan at rihan.fr> writes:

> Of course, the compiler has -I src/, but not necessarely -I Models/, and
> instead of that, is it possible to tell `odb` to write the include in
> another folder (for instance, #include "../src/Models/*", or
> #include "Models/*") per file?

See the --include-prefix and --include-regex[-trace] options:


More information about the odb-users mailing list