diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-11 12:20:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-05-11 12:20:11 +0200 |
commit | 2e501c68a8641a2b3c430b55f13491a9c1c5d0f5 (patch) | |
tree | 49c2748443fe3c1f01108756b647440e0647a11b /build/dist | |
parent | 161beba6cdb0d91b15ad19fa8b3e51d986203915 (diff) |
Add support for custom allocators
New example: examples/cxx/hybrid/allocator.
Diffstat (limited to 'build/dist')
-rwxr-xr-x | build/dist | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -263,6 +263,10 @@ gen 'ifeq ($(XSDE_POLYMORPHIC),y)' gen 'EXTRA_XSDFLAGS += --runtime-polymorphic' gen 'endif' gen +gen 'ifeq ($(XSDE_CUSTOM_ALLOCATOR),y)' +gen 'EXTRA_XSDFLAGS += --custom-allocator' +gen 'endif' +gen gen "$driver: $obj" '$(root)/libxsde/xsde/libxsde.a' gen @@ -414,6 +418,10 @@ gen '!if "$(XSDE_POLYMORPHIC)" == "y"' gen 'EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --runtime-polymorphic' gen '!endif' gen +gen '!if "$(XSDE_CUSTOM_ALLOCATOR)" == "y"' +gen 'EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --custom-allocator' +gen '!endif' +gen gen "$driver: $obj" '$(root)\\libxsde\\xsde\\xsde.lib' gen |