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/polymorphism/makefile | 30 ++ .../tree/polymorphism/polymorphism-vc10.vcxproj | 205 ++++++++++ .../polymorphism/polymorphism-vc10.vcxproj.filters | 38 ++ .../tree/polymorphism/polymorphism-vc11.vcxproj | 209 ++++++++++ .../polymorphism/polymorphism-vc11.vcxproj.filters | 38 ++ .../tree/polymorphism/polymorphism-vc12.vcxproj | 213 +++++++++++ .../polymorphism/polymorphism-vc12.vcxproj.filters | 38 ++ .../cxx/tree/polymorphism/polymorphism-vc8.vcproj | 423 +++++++++++++++++++++ .../cxx/tree/polymorphism/polymorphism-vc9.vcproj | 420 ++++++++++++++++++++ 9 files changed, 1614 insertions(+) create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/makefile create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj.filters create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc8.vcproj create mode 100644 xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc9.vcproj (limited to 'xsd/dist/examples/cxx/tree/polymorphism') diff --git a/xsd/dist/examples/cxx/tree/polymorphism/makefile b/xsd/dist/examples/cxx/tree/polymorphism/makefile new file mode 100644 index 0000000..282266e --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + +override XSDFLAGS += --generate-polymorphic --generate-serialization --root-element-last + + +# Build. +# +driver: driver.o supermen.o + +supermen.o: supermen.cxx supermen.hxx +driver.o: driver.cxx supermen.hxx + +supermen.cxx supermen.hxx: supermen.xsd + + +# Test. +# +.PHONY: test +test: driver supermen.xml + ./driver supermen.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f supermen.o supermen.?xx driver.o driver diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj new file mode 100644 index 0000000..4a693ec --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj @@ -0,0 +1,205 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + polymorphism + {03224289-FD3C-4A58-A6D7-E8D658B0E45A} + polymorphism + 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 supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj.filters b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj.filters new file mode 100644 index 0000000..4459d2c --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc10.vcxproj.filters @@ -0,0 +1,38 @@ + + + + + {A02BB28E-3A7B-4E9E-A2AC-AA264C62525C} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {6B2184D0-2125-48EB-AE80-64E24055DCE4} + h;hpp;hxx;hm;inl;inc;xsd + + + {e32c9352-17dd-4c6c-b9fa-fadaf6eee928} + xsd + + + + + Source Files + + + Source Files + + + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj new file mode 100644 index 0000000..d8f0aa0 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj @@ -0,0 +1,209 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + polymorphism + {03224289-FD3C-4A58-A6D7-E8D658B0E45A} + polymorphism + 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 supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj.filters b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj.filters new file mode 100644 index 0000000..4459d2c --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc11.vcxproj.filters @@ -0,0 +1,38 @@ + + + + + {A02BB28E-3A7B-4E9E-A2AC-AA264C62525C} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {6B2184D0-2125-48EB-AE80-64E24055DCE4} + h;hpp;hxx;hm;inl;inc;xsd + + + {e32c9352-17dd-4c6c-b9fa-fadaf6eee928} + xsd + + + + + Source Files + + + Source Files + + + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj new file mode 100644 index 0000000..040d657 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj @@ -0,0 +1,213 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + polymorphism + {03224289-FD3C-4A58-A6D7-E8D658B0E45A} + polymorphism + 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 supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + xsd supermen.xsd + xsd.exe cxx-tree --generate-polymorphic --generate-serialization --root-element-last supermen.xsd + supermen.cxx;supermen.hxx;%(Outputs) + + + + + + + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj.filters b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj.filters new file mode 100644 index 0000000..4459d2c --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc12.vcxproj.filters @@ -0,0 +1,38 @@ + + + + + {A02BB28E-3A7B-4E9E-A2AC-AA264C62525C} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {6B2184D0-2125-48EB-AE80-64E24055DCE4} + h;hpp;hxx;hm;inl;inc;xsd + + + {e32c9352-17dd-4c6c-b9fa-fadaf6eee928} + xsd + + + + + Source Files + + + Source Files + + + + + Header Files + + + + + + + + Schema Files + + + \ No newline at end of file diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc8.vcproj b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc8.vcproj new file mode 100644 index 0000000..d146d0e --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc8.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc9.vcproj b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc9.vcproj new file mode 100644 index 0000000..3d56cf8 --- /dev/null +++ b/xsd/dist/examples/cxx/tree/polymorphism/polymorphism-vc9.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3