From 9da1e93b22dc23bb31aa502b82fb7ff999cff879 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Aug 2010 15:35:57 +0200 Subject: Add the --generate-query option --- common/query/makefile | 2 +- mysql/types/makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/query/makefile b/common/query/makefile index f5726a1..5389d55 100644 --- a/common/query/makefile +++ b/common/query/makefile @@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen): odb_options += --database $(db_id) --generate-schema \ ---hxx-prologue '\\\#include "traits.hxx"' +--generate-query --hxx-prologue '\\\#include "traits.hxx"' $(gen): cpp_options := -I$(out_base) $(gen): $(common.l.cpp-options) diff --git a/mysql/types/makefile b/mysql/types/makefile index bf23a69..c7c8742 100644 --- a/mysql/types/makefile +++ b/mysql/types/makefile @@ -41,7 +41,7 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen): odb_options += --database $(db_id) --generate-schema \ ---cxx-prologue '\\\#include "traits.hxx"' +--generate-query --cxx-prologue '\\\#include "traits.hxx"' $(gen): cpp_options := -I$(out_base) $(gen): $(common.l.cpp-options) -- cgit v1.1