aboutsummaryrefslogtreecommitdiff
path: root/build/xsde
diff options
context:
space:
mode:
Diffstat (limited to 'build/xsde')
-rw-r--r--build/xsde/hybrid/xsd-cxx.make4
-rw-r--r--build/xsde/parser/xsd-cxx.make4
-rw-r--r--build/xsde/serializer/xsd-cxx.make4
3 files changed, 12 insertions, 0 deletions
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)
diff --git a/build/xsde/parser/xsd-cxx.make b/build/xsde/parser/xsd-cxx.make
index f9c87e9..3a246ff 100644
--- a/build/xsde/parser/xsd-cxx.make
+++ b/build/xsde/parser/xsd-cxx.make
@@ -68,6 +68,10 @@ ifeq ($(xsde_reuse_style),none)
ops += $(xsde_options) --reuse-style-none
endif
+ifeq ($(xsde_custom_allocator),y)
+ops += $(xsde_options) --custom-allocator
+endif
+
$(xsd_parser_pattern): xsde_options := $(ops)
diff --git a/build/xsde/serializer/xsd-cxx.make b/build/xsde/serializer/xsd-cxx.make
index a042ef9..86101c6 100644
--- a/build/xsde/serializer/xsd-cxx.make
+++ b/build/xsde/serializer/xsd-cxx.make
@@ -68,6 +68,10 @@ ifeq ($(xsde_reuse_style),none)
ops += $(xsde_options) --reuse-style-none
endif
+ifeq ($(xsde_custom_allocator),y)
+ops += $(xsde_options) --custom-allocator
+endif
+
$(xsd_serializer_pattern): xsde_options := $(ops)