From 76d23e639004517db8f9469d64ac1789f8449365 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Jan 2010 13:50:11 +0200 Subject: Add support for ISO-8859-1 as application encoding New runtime configuration parameter, XSDE_ENCODING. New option, --char-encoding. New test, tests/cxx/hybrid/iso8859-1. --- dist/examples/cxx/hybrid/polyroot/makefile | 4 ++++ dist/examples/cxx/hybrid/polyroot/nmakefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'dist/examples/cxx/hybrid/polyroot') diff --git a/dist/examples/cxx/hybrid/polyroot/makefile b/dist/examples/cxx/hybrid/polyroot/makefile index a422aa3..752d936 100644 --- a/dist/examples/cxx/hybrid/polyroot/makefile +++ b/dist/examples/cxx/hybrid/polyroot/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/polyroot/nmakefile b/dist/examples/cxx/hybrid/polyroot/nmakefile index d713db0..dbf57fb 100644 --- a/dist/examples/cxx/hybrid/polyroot/nmakefile +++ b/dist/examples/cxx/hybrid/polyroot/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 -- cgit v1.1