diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-05 11:59:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-05 11:59:01 +0200 |
commit | 171385079d50b77fcdb219e1cbae1ab79fa000f5 (patch) | |
tree | 4be024b3a5871bb4ccc600457aead5db964caa55 /schema/embedded/README | |
parent | 307795479893bed9b21667a686a74281dfebbfca (diff) |
Add support for generating schema creation code into separate C++ file
Diffstat (limited to 'schema/embedded/README')
-rw-r--r-- | schema/embedded/README | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/schema/embedded/README b/schema/embedded/README index d353bd0..fc76d04 100644 --- a/schema/embedded/README +++ b/schema/embedded/README @@ -21,7 +21,11 @@ person-odb.cxx The --generate-schema option requests the generation of the database schema. The --schema-format option is used to instruct the ODB compiler to embed the - schema into the generated C++ files. + schema into the generated C++ files. It is also possible to generate the + schema creation code into a separate source file by passing the 'separate' + value instead of 'embedded' to the --schema-format option. This is primarily + useful if you want to place the schema creation functionality into a + separate program or library. database.hxx Contains the create_database() function which instantiates the concrete |