aboutsummaryrefslogtreecommitdiff
path: root/view/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-04 17:23:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-04 17:23:54 +0200
commit0ac8f52ddfae8537651c65b8ab8b32db47756e74 (patch)
treebe6239b8e7f528c7c25a05f83af2ec806043fbd6 /view/makefile
parent613da395f986ff748448d5afc06319f84a734397 (diff)
Implement object loading views
See section 10.2 in the manual for details.
Diffstat (limited to 'view/makefile')
-rw-r--r--view/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/makefile b/view/makefile
index cfb061a..ca85d9b 100644
--- a/view/makefile
+++ b/view/makefile
@@ -46,7 +46,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --generate-query --generate-schema \
---default-pointer std::tr1::shared_ptr --table-prefix view_
+--default-pointer std::tr1::shared_ptr --generate-session --table-prefix view_
$(gen): cpp_options := -I$(src_base)
$(gen): $(odb.l.cpp-options)