aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/custom
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/custom')
-rw-r--r--dist/examples/cxx/hybrid/custom/wildcard/makefile4
-rw-r--r--dist/examples/cxx/hybrid/custom/wildcard/nmakefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/custom/wildcard/makefile b/dist/examples/cxx/hybrid/custom/wildcard/makefile
index e0a881d..71283bb 100644
--- a/dist/examples/cxx/hybrid/custom/wildcard/makefile
+++ b/dist/examples/cxx/hybrid/custom/wildcard/makefile
@@ -18,6 +18,10 @@ ifeq ($(XSDE_REUSE_STYLE),mixin)
EXTRA_XSDFLAGS += --reuse-style-mixin
endif
+ifeq ($(XSDE_POLYMORPHIC),y)
+EXTRA_XSDFLAGS += --runtime-polymorphic
+endif
+
driver: driver.o email.o body.o email-pskel.o email-pimpl.o \
email-sskel.o email-simpl.o envelope-pimpl.o envelope-simpl.o \
$(root)/libxsde/xsde/libxsde.a
diff --git a/dist/examples/cxx/hybrid/custom/wildcard/nmakefile b/dist/examples/cxx/hybrid/custom/wildcard/nmakefile
index 0a88820..33f3570 100644
--- a/dist/examples/cxx/hybrid/custom/wildcard/nmakefile
+++ b/dist/examples/cxx/hybrid/custom/wildcard/nmakefile
@@ -18,6 +18,10 @@ EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --suppress-validation
EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --reuse-style-mixin
!endif
+!if "$(XSDE_POLYMORPHIC)" == "y"
+EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --runtime-polymorphic
+!endif
+
driver.exe: driver.obj email.obj body.obj email-pskel.obj email-pimpl.obj \
email-sskel.obj email-simpl.obj envelope-pimpl.obj envelope-simpl.obj \
$(root)\libxsde\xsde\xsde.lib