aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/minimal
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/minimal')
-rw-r--r--dist/examples/cxx/hybrid/minimal/makefile4
-rw-r--r--dist/examples/cxx/hybrid/minimal/nmakefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/minimal/makefile b/dist/examples/cxx/hybrid/minimal/makefile
index 87e5325..14b7008 100644
--- a/dist/examples/cxx/hybrid/minimal/makefile
+++ b/dist/examples/cxx/hybrid/minimal/makefile
@@ -24,6 +24,10 @@ ifeq ($(XSDE_REUSE_STYLE),mixin)
EXTRA_XSDFLAGS += --reuse-style-mixin
endif
+ifeq ($(XSDE_POLYMORPHIC),y)
+EXTRA_XSDFLAGS += --runtime-polymorphic
+endif
+
driver: driver.o people.o people-pskel.o people-pimpl.o \
people-sskel.o people-simpl.o $(root)/libxsde/xsde/libxsde.a
diff --git a/dist/examples/cxx/hybrid/minimal/nmakefile b/dist/examples/cxx/hybrid/minimal/nmakefile
index 6a1c736..f3faf72 100644
--- a/dist/examples/cxx/hybrid/minimal/nmakefile
+++ b/dist/examples/cxx/hybrid/minimal/nmakefile
@@ -24,6 +24,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 people.obj people-pskel.obj people-pimpl.obj \
people-sskel.obj people-simpl.obj $(root)\libxsde\xsde\xsde.lib