From 19a3dfd0bcb583e246f83a9c01f9218a8b41fd3c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Aug 2012 12:23:25 +0200 Subject: Add support for automatically discovering accessor/modifier functions New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. --- common/access/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/access/makefile') diff --git a/common/access/makefile b/common/access/makefile index 674128d..3cf2953 100644 --- a/common/access/makefile +++ b/common/access/makefile @@ -35,7 +35,8 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \ ---table-prefix access_ +--table-prefix access_ --accessor-regex "/(.+)/Get\u\1/" \ +--modifier-regex "/(.+)/Set\u\1/" $(gen): cpp_options := -I$(src_base) $(gen): $(common.l.cpp-options) -- cgit v1.1