From bada6666c70977a058755ccf232e7d67b24adeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:21:29 +0200 Subject: New upstream release --- xsd/dist/examples/cxx/tree/custom/comments/makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'xsd/dist/examples/cxx/tree/custom/comments/makefile') diff --git a/xsd/dist/examples/cxx/tree/custom/comments/makefile b/xsd/dist/examples/cxx/tree/custom/comments/makefile index 963f262..4c231c6 100644 --- a/xsd/dist/examples/cxx/tree/custom/comments/makefile +++ b/xsd/dist/examples/cxx/tree/custom/comments/makefile @@ -22,9 +22,15 @@ people.cxx people.ixx people.hxx: people.xsd # Generate header for XML Schema namespace. # XML_SCHEMA_XSDFLAGS := --generate-xml-schema --generate-serialization \ ---custom-type anyType=/type_base \ --hxx-epilogue '\#include "xml-schema-custom.hxx"' +ifneq ($(shell uname -o),Msys) +XML_SCHEMA_XSDFLAGS += --custom-type anyType=/type_base +else +# Prevent MSYS from converting / to Windows path. +XML_SCHEMA_XSDFLAGS += --custom-type anyType=//type_base +endif + xml-schema.hxx: $(XSD) cxx-tree $(XML_SCHEMA_XSDFLAGS) xml-schema.xsd -- cgit v1.2.3