From 2e501c68a8641a2b3c430b55f13491a9c1c5d0f5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 11 May 2010 12:20:11 +0200 Subject: Add support for custom allocators New example: examples/cxx/hybrid/allocator. --- build/xsde/hybrid/xsd-cxx.make | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build/xsde/hybrid/xsd-cxx.make') diff --git a/build/xsde/hybrid/xsd-cxx.make b/build/xsde/hybrid/xsd-cxx.make index 540fa1f..57420f0 100644 --- a/build/xsde/hybrid/xsd-cxx.make +++ b/build/xsde/hybrid/xsd-cxx.make @@ -94,6 +94,10 @@ ifeq ($(xsde_reuse_style),none) $(error Hybrid mapping requires support for base parser/serializer reuse) endif +ifeq ($(xsde_custom_allocator),y) +ops += $(xsde_options) --custom-allocator +endif + $(xsd_hybrid_pattern): xsde_options := $(ops) .PRECIOUS: $(xsd_hybrid_pattern) -- cgit v1.1