diff options
Diffstat (limited to 'dist/examples/cxx/serializer/hello')
-rw-r--r-- | dist/examples/cxx/serializer/hello/makefile | 4 | ||||
-rw-r--r-- | dist/examples/cxx/serializer/hello/nmakefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/dist/examples/cxx/serializer/hello/makefile b/dist/examples/cxx/serializer/hello/makefile index a498aa4..90a752d 100644 --- a/dist/examples/cxx/serializer/hello/makefile +++ b/dist/examples/cxx/serializer/hello/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_LONGLONG),n) EXTRA_XSDFLAGS += --no-long-long endif diff --git a/dist/examples/cxx/serializer/hello/nmakefile b/dist/examples/cxx/serializer/hello/nmakefile index f3b3d2c..f1043a3 100644 --- a/dist/examples/cxx/serializer/hello/nmakefile +++ b/dist/examples/cxx/serializer/hello/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_LONGLONG)" == "n" EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --no-long-long !endif |