aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-24 10:04:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-24 10:04:19 +0200
commit31d70f7c67d1ea0b920538d50001b8e26d013d28 (patch)
treefad1a8888197c07ea710f18c6ae7535638b29f0b /schema
parent1f2834e458c4c28fe3264968a80f451636c232e4 (diff)
C++11 support (pass --std ODB compiler option in build makefiles)
Diffstat (limited to 'schema')
-rw-r--r--schema/custom/makefile5
-rw-r--r--schema/embedded/makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/schema/custom/makefile b/schema/custom/makefile
index a609f03..3a8c69c 100644
--- a/schema/custom/makefile
+++ b/schema/custom/makefile
@@ -104,7 +104,12 @@ $(call include,$(bld_root)/meta/vc9proj.make)
$(call include,$(bld_root)/meta/vc10proj.make)
$(call include,$(bld_root)/meta/automake.make)
+$(call include,$(bld_root)/cxx/standard.make) # cxx_standard
+ifdef cxx_standard
+$(gen): odb_options += --std $(cxx_standard)
$(call include,$(odb_rules))
+endif
+
$(call include,$(bld_root)/cxx/cxx-d.make)
$(call include,$(bld_root)/cxx/cxx-o.make)
$(call include,$(bld_root)/cxx/o-e.make)
diff --git a/schema/embedded/makefile b/schema/embedded/makefile
index 9c7c292..6d2b521 100644
--- a/schema/embedded/makefile
+++ b/schema/embedded/makefile
@@ -105,7 +105,12 @@ $(call include,$(bld_root)/meta/vc9proj.make)
$(call include,$(bld_root)/meta/vc10proj.make)
$(call include,$(bld_root)/meta/automake.make)
+$(call include,$(bld_root)/cxx/standard.make) # cxx_standard
+ifdef cxx_standard
+$(gen): odb_options += --std $(cxx_standard)
$(call include,$(odb_rules))
+endif
+
$(call include,$(bld_root)/cxx/cxx-d.make)
$(call include,$(bld_root)/cxx/cxx-o.make)
$(call include,$(bld_root)/cxx/o-e.make)