diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:25:44 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:25:44 +0200 |
commit | 8286ac511144e4f17d34eac9affb97e50646344a (patch) | |
tree | f1af7320d7b6be6be059216d0ad08ac7b4f73fd0 /xsd/dist/examples/cxx/tree/custom/comments/makefile | |
parent | a15cf65c44d5c224169c32ef5495b68c758134b7 (diff) |
Imported Upstream version 4.0.0upstream/4.0.0
Diffstat (limited to 'xsd/dist/examples/cxx/tree/custom/comments/makefile')
-rw-r--r-- | xsd/dist/examples/cxx/tree/custom/comments/makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 |