From d43a0047151d490dcd061e3f105bfc4eb9fac854 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Mar 2012 12:31:38 +0200 Subject: New example that shows C++11 support, build infrastructure for C++11 --- template/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'template/Makefile.am') diff --git a/template/Makefile.am b/template/Makefile.am index d59aa5b..f39fbad 100644 --- a/template/Makefile.am +++ b/template/Makefile.am @@ -42,5 +42,9 @@ ODB = @ODB@ ODBFLAGS = @ODBFLAGS@ ODBCPPFLAGS = @ODBCPPFLAGS@ +if HAVE_CXX11 +ODBFLAGS += --std c++11 +endif + __path__(odb_header_stem)-odb.hxx: __path__(odb_header_stem).hxx $(ODB) $(ODBCPPFLAGS) $(CPPFLAGS) $(ODBFLAGS) __value__(odb_options) $< -- cgit v1.1