summaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/custom/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/custom/mixed')
-rw-r--r--dist/examples/cxx/tree/custom/mixed/makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dist/examples/cxx/tree/custom/mixed/makefile b/dist/examples/cxx/tree/custom/mixed/makefile
index a5ea87e..c5dac63 100644
--- a/dist/examples/cxx/tree/custom/mixed/makefile
+++ b/dist/examples/cxx/tree/custom/mixed/makefile
@@ -5,7 +5,14 @@ include $(root)/build/xsd/tree-rules.make
override XSDFLAGS += --generate-inline --generate-serialization \
---custom-type bio=/bio_base --hxx-epilogue '\#include "people-custom.hxx"'
+--hxx-epilogue '\#include "people-custom.hxx"'
+
+ifneq ($(shell uname -o),Msys)
+override XSDFLAGS += --custom-type bio=/bio_base
+else
+# Prevent MSYS from converting / to Windows path.
+override XSDFLAGS += --custom-type bio=//bio_base
+endif
# Build.