From 5e17d609ae59dc07514e2af945db05be05db968c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Aug 2010 15:34:58 +0200 Subject: Do not generate query support code by default Add the --generate-query option to explicitly request this functionality. --- odb/options.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb/options.hxx') diff --git a/odb/options.hxx b/odb/options.hxx index 036b96a..488eca2 100644 --- a/odb/options.hxx +++ b/odb/options.hxx @@ -331,6 +331,9 @@ class options database_specified () const; const bool& + generate_query () const; + + const bool& generate_schema () const; const std::string& @@ -511,6 +514,7 @@ class options bool version_; ::database database_; bool database_specified_; + bool generate_query_; bool generate_schema_; std::string output_dir_; bool output_dir_specified_; -- cgit v1.1