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 --- xsd/dist/examples/cxx/tree/messaging/makefile | 35 ++ .../cxx/tree/messaging/messaging-vc10.vcxproj | 209 ++++++++++ .../tree/messaging/messaging-vc10.vcxproj.filters | 50 +++ .../cxx/tree/messaging/messaging-vc11.vcxproj | 213 ++++++++++ .../tree/messaging/messaging-vc11.vcxproj.filters | 50 +++ .../cxx/tree/messaging/messaging-vc12.vcxproj | 217 ++++++++++ .../tree/messaging/messaging-vc12.vcxproj.filters | 50 +++ .../cxx/tree/messaging/messaging-vc8.vcproj | 439 +++++++++++++++++++++ .../cxx/tree/messaging/messaging-vc9.vcproj | 436 ++++++++++++++++++++ 9 files changed, 1699 insertions(+) create mode 100644 xsd/dist/examples/cxx/tree/messaging/makefile create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc8.vcproj create mode 100644 xsd/dist/examples/cxx/tree/messaging/messaging-vc9.vcproj (limited to 'xsd/dist/examples/cxx/tree/messaging') diff --git a/xsd/dist/examples/cxx/tree/messaging/makefile b/xsd/dist/examples/cxx/tree/messaging/makefile new file mode 100644 index 0000000..0557a7c --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/makefile @@ -0,0 +1,35 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + +override XSDFLAGS += --root-element-all --generate-element-type \ +--generate-element-map --generate-serialization + + +# Build. +# +driver: driver.o dom-parse.o dom-serialize.o protocol.o + +protocol.o: protocol.cxx protocol.hxx +dom-parse.o: dom-parse.cxx dom-parse.hxx +dom-serialize.o: dom-serialize.cxx dom-serialize.hxx +driver.o: driver.cxx dom-parse.hxx dom-serialize.hxx protocol.hxx + +protocol.cxx protocol.hxx: protocol.xsd + + +# Test +# +.PHONY: test +test: driver balance.xml withdraw.xml deposit.xml + ./driver balance.xml + ./driver withdraw.xml + ./driver deposit.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f protocol.o protocol.?xx dom-parse.o dom-serialize.o driver.o driver diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj b/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj new file mode 100644 index 0000000..6016f46 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj @@ -0,0 +1,209 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + messaging + {F7696252-45B5-438B-B14F-0510137704F0} + messaging + Win32Proj + + + + Application + MultiByte + + + Application + MultiByte + + + Application + MultiByte + + + Application + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + X64 + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX64 + + + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj.filters b/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj.filters new file mode 100644 index 0000000..c94955d --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc10.vcxproj.filters @@ -0,0 +1,50 @@ + + + + + {0BA0A3D7-40AF-4307-8033-5BE39B33ABE5} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {F7AC5A29-8CF7-4882-89B6-1B5B81AA00F2} + h;hpp;hxx;hm;inl;inc;xsd + + + {945e9234-36d7-4bbb-a5f2-97af87338c49} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj b/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj new file mode 100644 index 0000000..d3403c2 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj @@ -0,0 +1,213 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + messaging + {F7696252-45B5-438B-B14F-0510137704F0} + messaging + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + X64 + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX64 + + + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj.filters b/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj.filters new file mode 100644 index 0000000..c94955d --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc11.vcxproj.filters @@ -0,0 +1,50 @@ + + + + + {0BA0A3D7-40AF-4307-8033-5BE39B33ABE5} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {F7AC5A29-8CF7-4882-89B6-1B5B81AA00F2} + h;hpp;hxx;hm;inl;inc;xsd + + + {945e9234-36d7-4bbb-a5f2-97af87338c49} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj b/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj new file mode 100644 index 0000000..35b8763 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj @@ -0,0 +1,217 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + messaging + {F7696252-45B5-438B-B14F-0510137704F0} + messaging + Win32Proj + + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + Application + v120 + MultiByte + + + + + + + + + + + + + + + + + + + driver + driver + driver + driver + Debug\ + Debug\ + true + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + Release\ + Release\ + false + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + + + + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + + Level3 + true + + + xerces-c_3D.lib;%(AdditionalDependencies) + $(TargetPath) + true + $(OutDir)driver.pdb + Console + false + + + MachineX86 + + + + + 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 + + + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + true + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX86 + + + + + X64 + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + true + + + xerces-c_3.lib;%(AdditionalDependencies) + $(TargetPath) + true + Console + true + true + false + + + MachineX64 + + + + + + + + + + + + + + + + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + xsd protocol.xsd + xsd cxx-tree --root-element-all --generate-element-type --generate-element-map --generate-serialization protocol.xsd + protocol.hxx;protocol.cxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj.filters b/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj.filters new file mode 100644 index 0000000..c94955d --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc12.vcxproj.filters @@ -0,0 +1,50 @@ + + + + + {0BA0A3D7-40AF-4307-8033-5BE39B33ABE5} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {F7AC5A29-8CF7-4882-89B6-1B5B81AA00F2} + h;hpp;hxx;hm;inl;inc;xsd + + + {945e9234-36d7-4bbb-a5f2-97af87338c49} + xsd + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc8.vcproj b/xsd/dist/examples/cxx/tree/messaging/messaging-vc8.vcproj new file mode 100644 index 0000000..f006365 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc8.vcproj @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsd/dist/examples/cxx/tree/messaging/messaging-vc9.vcproj b/xsd/dist/examples/cxx/tree/messaging/messaging-vc9.vcproj new file mode 100644 index 0000000..debd0a3 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/messaging/messaging-vc9.vcproj @@ -0,0 +1,436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3