From 171385079d50b77fcdb219e1cbae1ab79fa000f5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Mar 2012 11:59:01 +0200 Subject: Add support for generating schema creation code into separate C++ file --- schema/embedded/README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'schema/embedded/README') 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 -- cgit v1.1