aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/binary
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/binary')
-rw-r--r--dist/examples/cxx/hybrid/binary/cdr/makefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/cdr/nmakefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/custom/makefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/custom/nmakefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/xdr/makefile4
-rw-r--r--dist/examples/cxx/hybrid/binary/xdr/nmakefile4
6 files changed, 24 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/binary/cdr/makefile b/dist/examples/cxx/hybrid/binary/cdr/makefile
index 96c6274..6814623 100644
--- a/dist/examples/cxx/hybrid/binary/cdr/makefile
+++ b/dist/examples/cxx/hybrid/binary/cdr/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 library.o library-pskel.o library-pimpl.o \
library-sskel.o library-simpl.o $(root)/libxsde/xsde/libxsde.a
diff --git a/dist/examples/cxx/hybrid/binary/cdr/nmakefile b/dist/examples/cxx/hybrid/binary/cdr/nmakefile
index a87ded2..f08cd4c 100644
--- a/dist/examples/cxx/hybrid/binary/cdr/nmakefile
+++ b/dist/examples/cxx/hybrid/binary/cdr/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 library.obj library-pskel.obj library-pimpl.obj \
library-sskel.obj library-simpl.obj $(root)\libxsde\xsde\xsde.lib
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
diff --git a/dist/examples/cxx/hybrid/binary/xdr/makefile b/dist/examples/cxx/hybrid/binary/xdr/makefile
index 95ceade..ede26ea 100644
--- a/dist/examples/cxx/hybrid/binary/xdr/makefile
+++ b/dist/examples/cxx/hybrid/binary/xdr/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 library.o library-pskel.o library-pimpl.o \
library-sskel.o library-simpl.o $(root)/libxsde/xsde/libxsde.a
diff --git a/dist/examples/cxx/hybrid/binary/xdr/nmakefile b/dist/examples/cxx/hybrid/binary/xdr/nmakefile
index f71e178..2930de2 100644
--- a/dist/examples/cxx/hybrid/binary/xdr/nmakefile
+++ b/dist/examples/cxx/hybrid/binary/xdr/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 $(root)\libxsde\xsde\xsde.lib