[odb-users] Defining database with multiple table mapping files

david bowe dpbowe at hotmail.com
Thu Feb 16 04:10:48 EST 2017

Thanks Boris,

This is great. So I can just include the the everthing-odb.cxx file generated by --at-once into my driver?

Also I appreciate that this isn't really an odb question, but how should I set the make file target for the odb compiler since it generates multiple output files?



From: Boris Kolpackov <boris at codesynthesis.com>
Sent: 15 February 2017 16:10
To: david bowe
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] Defining database with multiple table mapping files

Hi David,

david bowe <dpbowe at hotmail.com> writes:

> At the moment I can either paste all headers into one file and pass
> it to the odb compiler, or try to compile each individually and
> include each into my database driver file.

Individual compilation/inclusion is definitely the recommended approach.
And if you need to generate a single .sql file, then you can use the
--at-once ODB compiler option.


More information about the odb-users mailing list