aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/binary/custom
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/binary/custom')
-rw-r--r--dist/examples/cxx/hybrid/binary/custom/makefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/custom/nmakefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/binary/custom/makefile b/dist/examples/cxx/hybrid/binary/custom/makefile
index c0e57ad..39ba93c 100644
--- a/dist/examples/cxx/hybrid/binary/custom/makefile
+++ b/dist/examples/cxx/hybrid/binary/custom/makefile
@@ -22,6 +22,10 @@ ifeq ($(XSDE_REUSE_STYLE),mixin)
EXTRA_XSDFLAGS += --reuse-style-mixin
endif
+ifeq ($(XSDE_POLYMORPHIC),y)
+EXTRA_XSDFLAGS += --runtime-polymorphic
+endif
+
driver: driver.o library.o library-pskel.o library-pimpl.o \
library-sskel.o library-simpl.o exceptions.o orawstream.o \
irawstream.o $(root)/libxsde/xsde/libxsde.a
diff --git a/dist/examples/cxx/hybrid/binary/custom/nmakefile b/dist/examples/cxx/hybrid/binary/custom/nmakefile
index b53db8e..c99b887 100644
--- a/dist/examples/cxx/hybrid/binary/custom/nmakefile
+++ b/dist/examples/cxx/hybrid/binary/custom/nmakefile
@@ -22,6 +22,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 library.obj library-pskel.obj library-pimpl.obj \
library-sskel.obj library-simpl.obj exceptions.obj orawstream.obj \
irawstream.obj $(root)\libxsde\xsde\xsde.lib