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 9d02861..55f1944 100644
--- a/dist/examples/cxx/hybrid/binary/custom/makefile
+++ b/dist/examples/cxx/hybrid/binary/custom/makefile
@@ -6,6 +6,10 @@ include $(root)/build/cxx/rules.make
#
EXTRA_CPPFLAGS := -I$(root)/libxsde
+ifeq ($(XSDE_ENCODING),iso8859-1)
+EXTRA_XSDFLAGS += --char-encoding iso8859-1
+endif
+
ifeq ($(XSDE_STL),n)
EXTRA_XSDFLAGS += --no-stl
endif
diff --git a/dist/examples/cxx/hybrid/binary/custom/nmakefile b/dist/examples/cxx/hybrid/binary/custom/nmakefile
index 00a0964..02e193f 100644
--- a/dist/examples/cxx/hybrid/binary/custom/nmakefile
+++ b/dist/examples/cxx/hybrid/binary/custom/nmakefile
@@ -6,6 +6,10 @@ root = ..\..\..\..\..
#
EXTRA_CPPFLAGS = /I$(root)\libxsde
+!if "$(XSDE_ENCODING)" == "iso8859-1"
+EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --char-encoding iso8859-1
+!endif
+
!if "$(XSDE_STL)" == "n"
EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --no-stl
!endif