From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- xsd/dist/examples/cxx/tree/custom/wildcard/makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xsd/dist/examples/cxx/tree/custom/wildcard/makefile') diff --git a/xsd/dist/examples/cxx/tree/custom/wildcard/makefile b/xsd/dist/examples/cxx/tree/custom/wildcard/makefile index 20ea1d2..f7561a2 100644 --- a/xsd/dist/examples/cxx/tree/custom/wildcard/makefile +++ b/xsd/dist/examples/cxx/tree/custom/wildcard/makefile @@ -5,8 +5,14 @@ include $(root)/build/xsd/tree-rules.make override XSDFLAGS += --generate-inline --generate-ostream \ ---generate-serialization --custom-type data=/data_base \ ---hxx-epilogue '\#include "wildcard-custom.hxx"' +--generate-serialization --hxx-epilogue '\#include "wildcard-custom.hxx"' + +ifneq ($(shell uname -o),Msys) +override XSDFLAGS += --custom-type data=/data_base +else +# Prevent MSYS from converting / to Windows path. +override XSDFLAGS += --custom-type data=//data_base +endif # Build. -- cgit v1.2.3