From 018e1ba581ec6f01f069a45ec4cf89f152b44d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Mar 2025 15:41:36 +0100 Subject: remerge --- .../cxx/tree/custom/comments/comments-vc10.vcxproj | 231 ++++++++++ .../custom/comments/comments-vc10.vcxproj.filters | 60 +++ .../cxx/tree/custom/comments/comments-vc11.vcxproj | 235 +++++++++++ .../custom/comments/comments-vc11.vcxproj.filters | 60 +++ .../cxx/tree/custom/comments/comments-vc12.vcxproj | 239 +++++++++++ .../custom/comments/comments-vc12.vcxproj.filters | 60 +++ .../cxx/tree/custom/comments/comments-vc8.vcproj | 464 +++++++++++++++++++++ .../cxx/tree/custom/comments/comments-vc9.vcproj | 461 ++++++++++++++++++++ .../examples/cxx/tree/custom/comments/makefile | 49 +++ 9 files changed, 1859 insertions(+) create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc8.vcproj create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/comments-vc9.vcproj create mode 100644 xsd/dist/examples/cxx/tree/custom/comments/makefile (limited to 'xsd/dist/examples/cxx/tree/custom/comments') diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj new file mode 100644 index 0000000..3e7e6b4 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj @@ -0,0 +1,231 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + comments + {262E34D2-48D2-4657-9DB2-F01FFDCEA295} + comments + Win32Proj + + + + Application + MultiByte + + + Application + MultiByte + + + Application + MultiByte + + + Application + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX64 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + + + + + + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj.filters b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj.filters new file mode 100644 index 0000000..934cabe --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc10.vcxproj.filters @@ -0,0 +1,60 @@ + + + + + {97CD019E-CFDE-4879-AB8C-97DB3B526F92} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {8E3E001B-1C7C-4383-A18D-B83AA525773F} + h;hpp;hxx;hm;inl;inc;xsd + + + {07ed52c5-d0a0-4659-9a65-2ee052612d2c} + ixx + + + {515a4811-9a34-429e-9c6d-3b771934d8db} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Inline Files + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj new file mode 100644 index 0000000..b96f28e --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj @@ -0,0 +1,235 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + comments + {262E34D2-48D2-4657-9DB2-F01FFDCEA295} + comments + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX64 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + + + + + + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj.filters b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj.filters new file mode 100644 index 0000000..934cabe --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc11.vcxproj.filters @@ -0,0 +1,60 @@ + + + + + {97CD019E-CFDE-4879-AB8C-97DB3B526F92} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {8E3E001B-1C7C-4383-A18D-B83AA525773F} + h;hpp;hxx;hm;inl;inc;xsd + + + {07ed52c5-d0a0-4659-9a65-2ee052612d2c} + ixx + + + {515a4811-9a34-429e-9c6d-3b771934d8db} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Inline Files + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj new file mode 100644 index 0000000..e237ff8 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj @@ -0,0 +1,239 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + comments + {262E34D2-48D2-4657-9DB2-F01FFDCEA295} + comments + Win32Proj + + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + true + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + true + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX64 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + true + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + xsd xml-schema.xsd + xsd cxx-tree --generate-xml-schema --generate-serialization --custom-type anyType=/type_base --hxx-epilogue "#include \"xml-schema-custom.hxx\"" xml-schema.xsd + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + true + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + + + + + + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + xml-schema.hxx;%(AdditionalInputs) + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + xsd people.xsd + xsd cxx-tree --generate-inline --generate-serialization --extern-xml-schema xml-schema.xsd people.xsd + people.hxx;people.ixx;people.cxx;%(Outputs) + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj.filters b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj.filters new file mode 100644 index 0000000..934cabe --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc12.vcxproj.filters @@ -0,0 +1,60 @@ + + + + + {97CD019E-CFDE-4879-AB8C-97DB3B526F92} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {8E3E001B-1C7C-4383-A18D-B83AA525773F} + h;hpp;hxx;hm;inl;inc;xsd + + + {07ed52c5-d0a0-4659-9a65-2ee052612d2c} + ixx + + + {515a4811-9a34-429e-9c6d-3b771934d8db} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Inline Files + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc8.vcproj b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc8.vcproj new file mode 100644 index 0000000..2093acf --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc8.vcproj @@ -0,0 +1,464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsd/dist/examples/cxx/tree/custom/comments/comments-vc9.vcproj b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc9.vcproj new file mode 100644 index 0000000..43281c6 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/comments-vc9.vcproj @@ -0,0 +1,461 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsd/dist/examples/cxx/tree/custom/comments/makefile b/xsd/dist/examples/cxx/tree/custom/comments/makefile new file mode 100644 index 0000000..4c231c6 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/custom/comments/makefile @@ -0,0 +1,49 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-serialization \ +--extern-xml-schema xml-schema.xsd + + +# Build. +# +driver: driver.o people.o xml-schema-custom.o dom-parse.o + +driver.o: driver.cxx dom-parse.hxx people.ixx people.hxx xml-schema.hxx xml-schema-custom.hxx +people.o: people.cxx people.ixx people.hxx xml-schema.hxx xml-schema-custom.hxx +xml-schema-custom.o: xml-schema.hxx xml-schema-custom.hxx +dom-parse.o: dom-parse.cxx dom-parse.hxx + +people.cxx people.ixx people.hxx: people.xsd + +# Generate header for XML Schema namespace. +# +XML_SCHEMA_XSDFLAGS := --generate-xml-schema --generate-serialization \ +--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 + + +# Test +# +.PHONY: test +test: driver people.xml + ./driver people.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f xml-schema.hxx xml-schema-custom.o people.o people.?xx dom-parse.o driver.o driver -- cgit v1.2.3