From 3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Sep 2009 14:40:53 +0200 Subject: Add distribution-specific files, dist and dist-win targets --- build/bootstrap.make | 4 +- dist/README-UNIX | 82 ++++ dist/README-WINDOWS | 105 +++++ dist/etc/vc-8.0/xsd-cxx-parser.rules | 178 ++++++++ dist/etc/vc-8.0/xsd-cxx-tree.rules | 255 +++++++++++ dist/etc/vc-9.0/xsd-cxx-parser.rules | 178 ++++++++ dist/etc/vc-9.0/xsd-cxx-tree.rules | 254 +++++++++++ dist/examples/build/cxx/compilers.make | 117 ++++++ dist/examples/build/cxx/rules.make | 66 +++ dist/examples/build/xsd/common.make | 11 + dist/examples/build/xsd/parser-rules.make | 23 + dist/examples/build/xsd/tree-rules.make | 15 + dist/examples/cxx/makefile | 11 + .../cxx/parser/generated/generated-7.1.vcproj | 168 ++++++++ .../cxx/parser/generated/generated-8.0.vcproj | 427 +++++++++++++++++++ .../cxx/parser/generated/generated-9.0.vcproj | 424 +++++++++++++++++++ .../parser/generated/generated-xerces2-7.1.vcproj | 168 ++++++++ .../parser/generated/generated-xerces2-8.0.vcproj | 427 +++++++++++++++++++ .../parser/generated/generated-xerces2-9.0.vcproj | 424 +++++++++++++++++++ dist/examples/cxx/parser/generated/makefile | 49 +++ dist/examples/cxx/parser/hello/hello-7.1.vcproj | 162 +++++++ dist/examples/cxx/parser/hello/hello-8.0.vcproj | 419 +++++++++++++++++++ dist/examples/cxx/parser/hello/hello-9.0.vcproj | 416 ++++++++++++++++++ .../cxx/parser/hello/hello-xerces2-7.1.vcproj | 162 +++++++ .../cxx/parser/hello/hello-xerces2-8.0.vcproj | 419 +++++++++++++++++++ .../cxx/parser/hello/hello-xerces2-9.0.vcproj | 416 ++++++++++++++++++ dist/examples/cxx/parser/hello/makefile | 28 ++ .../examples/cxx/parser/library/library-7.1.vcproj | 178 ++++++++ .../examples/cxx/parser/library/library-8.0.vcproj | 440 +++++++++++++++++++ .../examples/cxx/parser/library/library-9.0.vcproj | 437 +++++++++++++++++++ .../cxx/parser/library/library-xerces2-7.1.vcproj | 178 ++++++++ .../cxx/parser/library/library-xerces2-8.0.vcproj | 440 +++++++++++++++++++ .../cxx/parser/library/library-xerces2-9.0.vcproj | 437 +++++++++++++++++++ dist/examples/cxx/parser/library/makefile | 30 ++ dist/examples/cxx/parser/makefile | 12 + dist/examples/cxx/parser/mixed/makefile | 30 ++ dist/examples/cxx/parser/mixed/mixed-7.1.vcproj | 165 ++++++++ dist/examples/cxx/parser/mixed/mixed-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/parser/mixed/mixed-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/parser/mixed/mixed-xerces2-7.1.vcproj | 165 ++++++++ .../cxx/parser/mixed/mixed-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/parser/mixed/mixed-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/parser/mixin/makefile | 30 ++ dist/examples/cxx/parser/mixin/mixin-7.1.vcproj | 165 ++++++++ dist/examples/cxx/parser/mixin/mixin-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/parser/mixin/mixin-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/parser/mixin/mixin-xerces2-7.1.vcproj | 165 ++++++++ .../cxx/parser/mixin/mixin-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/parser/mixin/mixin-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/parser/multiroot/makefile | 32 ++ .../cxx/parser/multiroot/multiroot-7.1.vcproj | 173 ++++++++ .../cxx/parser/multiroot/multiroot-8.0.vcproj | 435 +++++++++++++++++++ .../cxx/parser/multiroot/multiroot-9.0.vcproj | 432 +++++++++++++++++++ .../parser/multiroot/multiroot-xerces2-7.1.vcproj | 173 ++++++++ .../parser/multiroot/multiroot-xerces2-8.0.vcproj | 435 +++++++++++++++++++ .../parser/multiroot/multiroot-xerces2-9.0.vcproj | 432 +++++++++++++++++++ dist/examples/cxx/parser/parser-7.1.sln | 93 +++++ dist/examples/cxx/parser/parser-8.0.sln | 115 +++++ dist/examples/cxx/parser/parser-9.0.sln | 115 +++++ dist/examples/cxx/parser/parser-xerces2-7.1.sln | 93 +++++ dist/examples/cxx/parser/parser-xerces2-8.0.sln | 115 +++++ dist/examples/cxx/parser/parser-xerces2-9.0.sln | 115 +++++ dist/examples/cxx/parser/performance/makefile | 30 ++ .../cxx/parser/performance/performance-7.1.vcproj | 168 ++++++++ .../cxx/parser/performance/performance-8.0.vcproj | 427 +++++++++++++++++++ .../cxx/parser/performance/performance-9.0.vcproj | 424 +++++++++++++++++++ .../performance/performance-xerces2-7.1.vcproj | 168 ++++++++ .../performance/performance-xerces2-8.0.vcproj | 427 +++++++++++++++++++ .../performance/performance-xerces2-9.0.vcproj | 424 +++++++++++++++++++ dist/examples/cxx/parser/polymorphism/makefile | 30 ++ .../parser/polymorphism/polymorphism-7.1.vcproj | 170 ++++++++ .../parser/polymorphism/polymorphism-8.0.vcproj | 431 +++++++++++++++++++ .../parser/polymorphism/polymorphism-9.0.vcproj | 428 +++++++++++++++++++ .../polymorphism/polymorphism-xerces2-7.1.vcproj | 170 ++++++++ .../polymorphism/polymorphism-xerces2-8.0.vcproj | 431 +++++++++++++++++++ .../polymorphism/polymorphism-xerces2-9.0.vcproj | 428 +++++++++++++++++++ dist/examples/cxx/parser/polyroot/makefile | 31 ++ .../cxx/parser/polyroot/polyroot-7.1.vcproj | 170 ++++++++ .../cxx/parser/polyroot/polyroot-8.0.vcproj | 431 +++++++++++++++++++ .../cxx/parser/polyroot/polyroot-9.0.vcproj | 428 +++++++++++++++++++ .../parser/polyroot/polyroot-xerces2-7.1.vcproj | 170 ++++++++ .../parser/polyroot/polyroot-xerces2-8.0.vcproj | 431 +++++++++++++++++++ .../parser/polyroot/polyroot-xerces2-9.0.vcproj | 428 +++++++++++++++++++ dist/examples/cxx/parser/wildcard/makefile | 28 ++ .../cxx/parser/wildcard/wildcard-7.1.vcproj | 162 +++++++ .../cxx/parser/wildcard/wildcard-8.0.vcproj | 419 +++++++++++++++++++ .../cxx/parser/wildcard/wildcard-9.0.vcproj | 416 ++++++++++++++++++ .../parser/wildcard/wildcard-xerces2-7.1.vcproj | 162 +++++++ .../parser/wildcard/wildcard-xerces2-8.0.vcproj | 419 +++++++++++++++++++ .../parser/wildcard/wildcard-xerces2-9.0.vcproj | 416 ++++++++++++++++++ dist/examples/cxx/tree/binary/boost/boost-7.1.sln | 21 + .../cxx/tree/binary/boost/boost-7.1.vcproj | 173 ++++++++ dist/examples/cxx/tree/binary/boost/boost-8.0.sln | 25 ++ .../cxx/tree/binary/boost/boost-8.0.vcproj | 435 +++++++++++++++++++ dist/examples/cxx/tree/binary/boost/boost-9.0.sln | 25 ++ .../cxx/tree/binary/boost/boost-9.0.vcproj | 432 +++++++++++++++++++ .../cxx/tree/binary/boost/boost-xerces2-7.1.sln | 21 + .../cxx/tree/binary/boost/boost-xerces2-7.1.vcproj | 173 ++++++++ .../cxx/tree/binary/boost/boost-xerces2-8.0.sln | 25 ++ .../cxx/tree/binary/boost/boost-xerces2-8.0.vcproj | 435 +++++++++++++++++++ .../cxx/tree/binary/boost/boost-xerces2-9.0.sln | 25 ++ .../cxx/tree/binary/boost/boost-xerces2-9.0.vcproj | 432 +++++++++++++++++++ dist/examples/cxx/tree/binary/boost/makefile | 37 ++ dist/examples/cxx/tree/binary/cdr/cdr-7.1.sln | 21 + dist/examples/cxx/tree/binary/cdr/cdr-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/binary/cdr/cdr-8.0.sln | 25 ++ dist/examples/cxx/tree/binary/cdr/cdr-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/binary/cdr/cdr-9.0.sln | 25 ++ dist/examples/cxx/tree/binary/cdr/cdr-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/tree/binary/cdr/cdr-xerces2-7.1.sln | 21 + .../cxx/tree/binary/cdr/cdr-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/binary/cdr/cdr-xerces2-8.0.sln | 25 ++ .../cxx/tree/binary/cdr/cdr-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/binary/cdr/cdr-xerces2-9.0.sln | 25 ++ .../cxx/tree/binary/cdr/cdr-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/binary/cdr/makefile | 35 ++ dist/examples/cxx/tree/binary/makefile | 25 ++ dist/examples/cxx/tree/binary/xdr/makefile | 35 ++ dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln | 21 + dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln | 25 ++ dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln | 25 ++ dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-7.1.sln | 21 + .../cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-8.0.sln | 25 ++ .../cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-9.0.sln | 25 ++ .../cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/caching/caching-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/caching/caching-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/caching/caching-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/tree/caching/caching-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/caching/caching-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/caching/caching-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/caching/makefile | 28 ++ .../cxx/tree/custom/calendar/calendar-7.1.sln | 21 + .../cxx/tree/custom/calendar/calendar-7.1.vcproj | 186 +++++++++ .../cxx/tree/custom/calendar/calendar-8.0.sln | 25 ++ .../cxx/tree/custom/calendar/calendar-8.0.vcproj | 456 ++++++++++++++++++++ .../cxx/tree/custom/calendar/calendar-9.0.sln | 25 ++ .../cxx/tree/custom/calendar/calendar-9.0.vcproj | 453 ++++++++++++++++++++ .../tree/custom/calendar/calendar-xerces2-7.1.sln | 21 + .../custom/calendar/calendar-xerces2-7.1.vcproj | 186 +++++++++ .../tree/custom/calendar/calendar-xerces2-8.0.sln | 25 ++ .../custom/calendar/calendar-xerces2-8.0.vcproj | 456 ++++++++++++++++++++ .../tree/custom/calendar/calendar-xerces2-9.0.sln | 25 ++ .../custom/calendar/calendar-xerces2-9.0.vcproj | 453 ++++++++++++++++++++ dist/examples/cxx/tree/custom/calendar/makefile | 42 ++ .../cxx/tree/custom/comments/comments-7.1.vcproj | 192 +++++++++ .../cxx/tree/custom/comments/comments-8.0.vcproj | 464 +++++++++++++++++++++ .../cxx/tree/custom/comments/comments-9.0.vcproj | 461 ++++++++++++++++++++ .../custom/comments/comments-xerces2-7.1.vcproj | 192 +++++++++ .../custom/comments/comments-xerces2-8.0.vcproj | 464 +++++++++++++++++++++ .../custom/comments/comments-xerces2-9.0.vcproj | 461 ++++++++++++++++++++ dist/examples/cxx/tree/custom/comments/makefile | 43 ++ .../cxx/tree/custom/contacts/contacts-7.1.vcproj | 177 ++++++++ .../cxx/tree/custom/contacts/contacts-8.0.vcproj | 440 +++++++++++++++++++ .../cxx/tree/custom/contacts/contacts-9.0.vcproj | 437 +++++++++++++++++++ .../custom/contacts/contacts-xerces2-7.1.vcproj | 177 ++++++++ .../custom/contacts/contacts-xerces2-8.0.vcproj | 440 +++++++++++++++++++ .../custom/contacts/contacts-xerces2-9.0.vcproj | 437 +++++++++++++++++++ dist/examples/cxx/tree/custom/contacts/makefile | 33 ++ dist/examples/cxx/tree/custom/custom-7.1.sln | 53 +++ dist/examples/cxx/tree/custom/custom-8.0.sln | 65 +++ dist/examples/cxx/tree/custom/custom-9.0.sln | 65 +++ .../cxx/tree/custom/custom-xerces2-7.1.sln | 53 +++ .../cxx/tree/custom/custom-xerces2-8.0.sln | 65 +++ .../cxx/tree/custom/custom-xerces2-9.0.sln | 65 +++ .../cxx/tree/custom/double/double-7.1.vcproj | 186 +++++++++ .../cxx/tree/custom/double/double-8.0.vcproj | 456 ++++++++++++++++++++ .../cxx/tree/custom/double/double-9.0.vcproj | 453 ++++++++++++++++++++ .../tree/custom/double/double-xerces2-7.1.vcproj | 186 +++++++++ .../tree/custom/double/double-xerces2-8.0.vcproj | 456 ++++++++++++++++++++ .../tree/custom/double/double-xerces2-9.0.vcproj | 453 ++++++++++++++++++++ dist/examples/cxx/tree/custom/double/makefile | 42 ++ dist/examples/cxx/tree/custom/makefile | 15 + dist/examples/cxx/tree/custom/taxonomy/makefile | 38 ++ .../cxx/tree/custom/taxonomy/taxonomy-7.1.vcproj | 183 ++++++++ .../cxx/tree/custom/taxonomy/taxonomy-8.0.vcproj | 448 ++++++++++++++++++++ .../cxx/tree/custom/taxonomy/taxonomy-9.0.vcproj | 445 ++++++++++++++++++++ .../custom/taxonomy/taxonomy-xerces2-7.1.vcproj | 183 ++++++++ .../custom/taxonomy/taxonomy-xerces2-8.0.vcproj | 448 ++++++++++++++++++++ .../custom/taxonomy/taxonomy-xerces2-9.0.vcproj | 445 ++++++++++++++++++++ dist/examples/cxx/tree/custom/wildcard/makefile | 34 ++ .../cxx/tree/custom/wildcard/wildcard-7.1.vcproj | 177 ++++++++ .../cxx/tree/custom/wildcard/wildcard-8.0.vcproj | 440 +++++++++++++++++++ .../cxx/tree/custom/wildcard/wildcard-9.0.vcproj | 437 +++++++++++++++++++ .../custom/wildcard/wildcard-xerces2-7.1.vcproj | 177 ++++++++ .../custom/wildcard/wildcard-xerces2-8.0.vcproj | 440 +++++++++++++++++++ .../custom/wildcard/wildcard-xerces2-9.0.vcproj | 437 +++++++++++++++++++ dist/examples/cxx/tree/dbxml/dbxml-7.1.sln | 21 + dist/examples/cxx/tree/dbxml/dbxml-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/dbxml/dbxml-8.0.sln | 25 ++ dist/examples/cxx/tree/dbxml/dbxml-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/dbxml/dbxml-9.0.sln | 25 ++ dist/examples/cxx/tree/dbxml/dbxml-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/dbxml/makefile | 33 ++ dist/examples/cxx/tree/hello/hello-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/hello/hello-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/hello/hello-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/tree/hello/hello-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/hello/hello-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/hello/hello-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/hello/makefile | 29 ++ dist/examples/cxx/tree/library/library-7.1.vcproj | 171 ++++++++ dist/examples/cxx/tree/library/library-8.0.vcproj | 432 +++++++++++++++++++ dist/examples/cxx/tree/library/library-9.0.vcproj | 429 +++++++++++++++++++ .../cxx/tree/library/library-xerces2-7.1.vcproj | 171 ++++++++ .../cxx/tree/library/library-xerces2-8.0.vcproj | 432 +++++++++++++++++++ .../cxx/tree/library/library-xerces2-9.0.vcproj | 429 +++++++++++++++++++ dist/examples/cxx/tree/library/makefile | 32 ++ dist/examples/cxx/tree/makefile | 20 + dist/examples/cxx/tree/messaging/makefile | 35 ++ .../cxx/tree/messaging/messaging-7.1.vcproj | 176 ++++++++ .../cxx/tree/messaging/messaging-8.0.vcproj | 439 +++++++++++++++++++ .../cxx/tree/messaging/messaging-9.0.vcproj | 436 +++++++++++++++++++ .../tree/messaging/messaging-xerces2-7.1.vcproj | 176 ++++++++ .../tree/messaging/messaging-xerces2-8.0.vcproj | 439 +++++++++++++++++++ .../tree/messaging/messaging-xerces2-9.0.vcproj | 436 +++++++++++++++++++ dist/examples/cxx/tree/mixed/makefile | 28 ++ dist/examples/cxx/tree/mixed/mixed-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/mixed/mixed-8.0.vcproj | 423 +++++++++++++++++++ dist/examples/cxx/tree/mixed/mixed-9.0.vcproj | 420 +++++++++++++++++++ .../cxx/tree/mixed/mixed-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/mixed/mixed-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/mixed/mixed-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/multiroot/makefile | 33 ++ .../cxx/tree/multiroot/multiroot-7.1.vcproj | 170 ++++++++ .../cxx/tree/multiroot/multiroot-8.0.vcproj | 431 +++++++++++++++++++ .../cxx/tree/multiroot/multiroot-9.0.vcproj | 428 +++++++++++++++++++ .../tree/multiroot/multiroot-xerces2-7.1.vcproj | 170 ++++++++ .../tree/multiroot/multiroot-xerces2-8.0.vcproj | 431 +++++++++++++++++++ .../tree/multiroot/multiroot-xerces2-9.0.vcproj | 428 +++++++++++++++++++ dist/examples/cxx/tree/performance/makefile | 34 ++ .../cxx/tree/performance/performance-7.1.vcproj | 183 ++++++++ .../cxx/tree/performance/performance-8.0.vcproj | 445 ++++++++++++++++++++ .../cxx/tree/performance/performance-9.0.vcproj | 442 ++++++++++++++++++++ .../performance/performance-xerces2-7.1.vcproj | 183 ++++++++ .../performance/performance-xerces2-8.0.vcproj | 445 ++++++++++++++++++++ .../performance/performance-xerces2-9.0.vcproj | 442 ++++++++++++++++++++ dist/examples/cxx/tree/polymorphism/makefile | 30 ++ .../cxx/tree/polymorphism/polymorphism-7.1.vcproj | 164 ++++++++ .../cxx/tree/polymorphism/polymorphism-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/polymorphism/polymorphism-9.0.vcproj | 420 +++++++++++++++++++ .../polymorphism/polymorphism-xerces2-7.1.vcproj | 164 ++++++++ .../polymorphism/polymorphism-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../polymorphism/polymorphism-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/streaming/makefile | 31 ++ .../cxx/tree/streaming/streaming-7.1.vcproj | 164 ++++++++ .../cxx/tree/streaming/streaming-8.0.vcproj | 423 +++++++++++++++++++ .../cxx/tree/streaming/streaming-9.0.vcproj | 420 +++++++++++++++++++ .../tree/streaming/streaming-xerces2-7.1.vcproj | 164 ++++++++ .../tree/streaming/streaming-xerces2-8.0.vcproj | 423 +++++++++++++++++++ .../tree/streaming/streaming-xerces2-9.0.vcproj | 420 +++++++++++++++++++ dist/examples/cxx/tree/tree-7.1.sln | 93 +++++ dist/examples/cxx/tree/tree-8.0.sln | 115 +++++ dist/examples/cxx/tree/tree-9.0.sln | 115 +++++ dist/examples/cxx/tree/tree-xerces2-7.1.sln | 93 +++++ dist/examples/cxx/tree/tree-xerces2-8.0.sln | 115 +++++ dist/examples/cxx/tree/tree-xerces2-9.0.sln | 115 +++++ dist/examples/cxx/tree/wildcard/makefile | 32 ++ .../examples/cxx/tree/wildcard/wildcard-7.1.vcproj | 171 ++++++++ .../examples/cxx/tree/wildcard/wildcard-8.0.vcproj | 432 +++++++++++++++++++ .../examples/cxx/tree/wildcard/wildcard-9.0.vcproj | 429 +++++++++++++++++++ .../cxx/tree/wildcard/wildcard-xerces2-7.1.vcproj | 171 ++++++++ .../cxx/tree/wildcard/wildcard-xerces2-8.0.vcproj | 432 +++++++++++++++++++ .../cxx/tree/wildcard/wildcard-xerces2-9.0.vcproj | 429 +++++++++++++++++++ dist/examples/cxx/tree/xpath/makefile | 30 ++ dist/examples/cxx/tree/xpath/xpath-7.1.sln | 21 + dist/examples/cxx/tree/xpath/xpath-7.1.vcproj | 170 ++++++++ dist/examples/cxx/tree/xpath/xpath-8.0.sln | 25 ++ dist/examples/cxx/tree/xpath/xpath-8.0.vcproj | 431 +++++++++++++++++++ dist/examples/cxx/tree/xpath/xpath-9.0.sln | 25 ++ dist/examples/cxx/tree/xpath/xpath-9.0.vcproj | 428 +++++++++++++++++++ dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.sln | 21 + .../cxx/tree/xpath/xpath-xerces2-7.1.vcproj | 170 ++++++++ dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.sln | 25 ++ .../cxx/tree/xpath/xpath-xerces2-8.0.vcproj | 431 +++++++++++++++++++ dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.sln | 25 ++ .../cxx/tree/xpath/xpath-xerces2-9.0.vcproj | 428 +++++++++++++++++++ dist/examples/makefile | 11 + documentation/cxx/makefile | 2 +- documentation/cxx/parser/guide/makefile | 3 - documentation/cxx/parser/makefile | 20 + documentation/cxx/tree/guide/makefile | 2 - documentation/cxx/tree/makefile | 35 ++ documentation/cxx/tree/manual/makefile | 2 - documentation/makefile | 16 + examples/cxx/parser/generated/makefile | 25 +- examples/cxx/parser/hello/makefile | 24 +- examples/cxx/parser/library/makefile | 28 +- examples/cxx/parser/makefile | 24 +- examples/cxx/parser/mixed/makefile | 27 +- examples/cxx/parser/mixin/makefile | 27 +- examples/cxx/parser/multiroot/makefile | 31 +- examples/cxx/parser/performance/makefile | 30 +- examples/cxx/parser/polymorphism/makefile | 26 +- examples/cxx/parser/polyroot/makefile | 29 +- examples/cxx/parser/wildcard/makefile | 25 +- examples/cxx/tree/binary/boost/makefile | 29 +- examples/cxx/tree/binary/cdr/makefile | 26 +- examples/cxx/tree/binary/makefile | 41 +- examples/cxx/tree/binary/xdr/makefile | 24 +- examples/cxx/tree/caching/makefile | 25 +- examples/cxx/tree/custom/calendar/makefile | 28 +- examples/cxx/tree/custom/comments/makefile | 28 +- examples/cxx/tree/custom/contacts/makefile | 26 +- examples/cxx/tree/custom/double/makefile | 25 +- examples/cxx/tree/custom/makefile | 38 +- examples/cxx/tree/custom/taxonomy/makefile | 28 +- examples/cxx/tree/custom/wildcard/makefile | 27 +- examples/cxx/tree/dbxml/makefile | 26 +- examples/cxx/tree/hello/makefile | 25 +- examples/cxx/tree/library/makefile | 24 +- examples/cxx/tree/makefile | 44 +- examples/cxx/tree/messaging/makefile | 31 +- examples/cxx/tree/mixed/makefile | 24 +- examples/cxx/tree/multiroot/makefile | 28 +- examples/cxx/tree/performance/makefile | 31 +- examples/cxx/tree/polymorphism/makefile | 25 +- examples/cxx/tree/streaming/makefile | 24 +- examples/cxx/tree/wildcard/makefile | 24 +- examples/cxx/tree/xpath/makefile | 29 +- examples/makefile | 10 +- libxsd/README | 5 +- libxsd/makefile | 29 +- makefile | 47 +++ xsd/makefile | 22 +- 330 files changed, 68956 insertions(+), 121 deletions(-) create mode 100644 dist/README-UNIX create mode 100644 dist/README-WINDOWS create mode 100644 dist/etc/vc-8.0/xsd-cxx-parser.rules create mode 100644 dist/etc/vc-8.0/xsd-cxx-tree.rules create mode 100644 dist/etc/vc-9.0/xsd-cxx-parser.rules create mode 100644 dist/etc/vc-9.0/xsd-cxx-tree.rules create mode 100644 dist/examples/build/cxx/compilers.make create mode 100644 dist/examples/build/cxx/rules.make create mode 100644 dist/examples/build/xsd/common.make create mode 100644 dist/examples/build/xsd/parser-rules.make create mode 100644 dist/examples/build/xsd/tree-rules.make create mode 100644 dist/examples/cxx/makefile create mode 100644 dist/examples/cxx/parser/generated/generated-7.1.vcproj create mode 100644 dist/examples/cxx/parser/generated/generated-8.0.vcproj create mode 100644 dist/examples/cxx/parser/generated/generated-9.0.vcproj create mode 100644 dist/examples/cxx/parser/generated/generated-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/generated/generated-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/generated/generated-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/generated/makefile create mode 100644 dist/examples/cxx/parser/hello/hello-7.1.vcproj create mode 100644 dist/examples/cxx/parser/hello/hello-8.0.vcproj create mode 100644 dist/examples/cxx/parser/hello/hello-9.0.vcproj create mode 100644 dist/examples/cxx/parser/hello/hello-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/hello/hello-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/hello/hello-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/hello/makefile create mode 100644 dist/examples/cxx/parser/library/library-7.1.vcproj create mode 100644 dist/examples/cxx/parser/library/library-8.0.vcproj create mode 100644 dist/examples/cxx/parser/library/library-9.0.vcproj create mode 100644 dist/examples/cxx/parser/library/library-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/library/library-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/library/library-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/library/makefile create mode 100644 dist/examples/cxx/parser/makefile create mode 100644 dist/examples/cxx/parser/mixed/makefile create mode 100644 dist/examples/cxx/parser/mixed/mixed-7.1.vcproj create mode 100644 dist/examples/cxx/parser/mixed/mixed-8.0.vcproj create mode 100644 dist/examples/cxx/parser/mixed/mixed-9.0.vcproj create mode 100644 dist/examples/cxx/parser/mixed/mixed-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/mixed/mixed-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/mixed/mixed-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/mixin/makefile create mode 100644 dist/examples/cxx/parser/mixin/mixin-7.1.vcproj create mode 100644 dist/examples/cxx/parser/mixin/mixin-8.0.vcproj create mode 100644 dist/examples/cxx/parser/mixin/mixin-9.0.vcproj create mode 100644 dist/examples/cxx/parser/mixin/mixin-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/mixin/mixin-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/mixin/mixin-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/makefile create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-7.1.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-8.0.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-9.0.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/multiroot/multiroot-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/parser-7.1.sln create mode 100644 dist/examples/cxx/parser/parser-8.0.sln create mode 100644 dist/examples/cxx/parser/parser-9.0.sln create mode 100644 dist/examples/cxx/parser/parser-xerces2-7.1.sln create mode 100644 dist/examples/cxx/parser/parser-xerces2-8.0.sln create mode 100644 dist/examples/cxx/parser/parser-xerces2-9.0.sln create mode 100644 dist/examples/cxx/parser/performance/makefile create mode 100644 dist/examples/cxx/parser/performance/performance-7.1.vcproj create mode 100644 dist/examples/cxx/parser/performance/performance-8.0.vcproj create mode 100644 dist/examples/cxx/parser/performance/performance-9.0.vcproj create mode 100644 dist/examples/cxx/parser/performance/performance-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/performance/performance-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/performance/performance-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/makefile create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-7.1.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-8.0.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-9.0.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/makefile create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-7.1.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-8.0.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-9.0.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/polyroot/polyroot-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/makefile create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-7.1.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-8.0.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-9.0.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/parser/wildcard/wildcard-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/boost/makefile create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/cdr/makefile create mode 100644 dist/examples/cxx/tree/binary/makefile create mode 100644 dist/examples/cxx/tree/binary/xdr/makefile create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-7.1.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-8.0.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-9.0.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/caching/caching-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/caching/makefile create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-7.1.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-8.0.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-9.0.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/calendar/makefile create mode 100644 dist/examples/cxx/tree/custom/comments/comments-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/comments-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/comments-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/comments-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/comments-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/comments-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/comments/makefile create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/contacts-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/contacts/makefile create mode 100644 dist/examples/cxx/tree/custom/custom-7.1.sln create mode 100644 dist/examples/cxx/tree/custom/custom-8.0.sln create mode 100644 dist/examples/cxx/tree/custom/custom-9.0.sln create mode 100644 dist/examples/cxx/tree/custom/custom-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/custom/custom-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/custom/custom-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/custom/double/double-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/double-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/double-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/double-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/double-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/double-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/double/makefile create mode 100644 dist/examples/cxx/tree/custom/makefile create mode 100644 dist/examples/cxx/tree/custom/taxonomy/makefile create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/makefile create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-9.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-7.1.sln create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-7.1.vcproj create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-8.0.sln create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-8.0.vcproj create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-9.0.sln create mode 100644 dist/examples/cxx/tree/dbxml/dbxml-9.0.vcproj create mode 100644 dist/examples/cxx/tree/dbxml/makefile create mode 100644 dist/examples/cxx/tree/hello/hello-7.1.vcproj create mode 100644 dist/examples/cxx/tree/hello/hello-8.0.vcproj create mode 100644 dist/examples/cxx/tree/hello/hello-9.0.vcproj create mode 100644 dist/examples/cxx/tree/hello/hello-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/hello/hello-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/hello/hello-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/hello/makefile create mode 100644 dist/examples/cxx/tree/library/library-7.1.vcproj create mode 100644 dist/examples/cxx/tree/library/library-8.0.vcproj create mode 100644 dist/examples/cxx/tree/library/library-9.0.vcproj create mode 100644 dist/examples/cxx/tree/library/library-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/library/library-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/library/library-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/library/makefile create mode 100644 dist/examples/cxx/tree/makefile create mode 100644 dist/examples/cxx/tree/messaging/makefile create mode 100644 dist/examples/cxx/tree/messaging/messaging-7.1.vcproj create mode 100644 dist/examples/cxx/tree/messaging/messaging-8.0.vcproj create mode 100644 dist/examples/cxx/tree/messaging/messaging-9.0.vcproj create mode 100644 dist/examples/cxx/tree/messaging/messaging-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/messaging/messaging-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/messaging/messaging-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/mixed/makefile create mode 100644 dist/examples/cxx/tree/mixed/mixed-7.1.vcproj create mode 100644 dist/examples/cxx/tree/mixed/mixed-8.0.vcproj create mode 100644 dist/examples/cxx/tree/mixed/mixed-9.0.vcproj create mode 100644 dist/examples/cxx/tree/mixed/mixed-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/mixed/mixed-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/mixed/mixed-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/makefile create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-7.1.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-8.0.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-9.0.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/multiroot/multiroot-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/performance/makefile create mode 100644 dist/examples/cxx/tree/performance/performance-7.1.vcproj create mode 100644 dist/examples/cxx/tree/performance/performance-8.0.vcproj create mode 100644 dist/examples/cxx/tree/performance/performance-9.0.vcproj create mode 100644 dist/examples/cxx/tree/performance/performance-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/performance/performance-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/performance/performance-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/makefile create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-7.1.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-8.0.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-9.0.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/streaming/makefile create mode 100644 dist/examples/cxx/tree/streaming/streaming-7.1.vcproj create mode 100644 dist/examples/cxx/tree/streaming/streaming-8.0.vcproj create mode 100644 dist/examples/cxx/tree/streaming/streaming-9.0.vcproj create mode 100644 dist/examples/cxx/tree/streaming/streaming-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/streaming/streaming-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/streaming/streaming-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/tree-7.1.sln create mode 100644 dist/examples/cxx/tree/tree-8.0.sln create mode 100644 dist/examples/cxx/tree/tree-9.0.sln create mode 100644 dist/examples/cxx/tree/tree-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/tree-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/tree-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/wildcard/makefile create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-7.1.vcproj create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-8.0.vcproj create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-9.0.vcproj create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/wildcard/wildcard-xerces2-9.0.vcproj create mode 100644 dist/examples/cxx/tree/xpath/makefile create mode 100644 dist/examples/cxx/tree/xpath/xpath-7.1.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-7.1.vcproj create mode 100644 dist/examples/cxx/tree/xpath/xpath-8.0.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-8.0.vcproj create mode 100644 dist/examples/cxx/tree/xpath/xpath-9.0.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-9.0.vcproj create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.vcproj create mode 100644 dist/examples/makefile create mode 100644 documentation/cxx/parser/makefile create mode 100644 documentation/cxx/tree/makefile diff --git a/build/bootstrap.make b/build/bootstrap.make index 1c38a72..c91578b 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -16,10 +16,12 @@ $(call include,$(scf_root)/configuration.make) # ifdef %interactive% -.PHONY: test $(out_base)/.test \ +.PHONY: $(out_base)/ \ + test $(out_base)/.test \ install $(out_base)/.install \ dist $(out_base)/.dist \ dist-win $(out_base)/.dist-win \ + $(out_base)/.dist-common \ clean $(out_base)/.clean \ cleandoc $(out_base)/.cleandoc diff --git a/dist/README-UNIX b/dist/README-UNIX new file mode 100644 index 0000000..44718a8 --- /dev/null +++ b/dist/README-UNIX @@ -0,0 +1,82 @@ +This package contains precompiled binaries of CodeSynthesis XSD, a +W3C XML Schema to C++ Data Binding compiler. For more information +about XSD visit + +http://www.codesynthesis.com/products/xsd/ + +This README file describes how to start using XSD in UNIX or +UNIX-like (for example, Cygwin/Mingw) environments. + + +Prerequisites +------------- + +The XSD runtime library and the generated code depend on the underlying +XML parser which can be Xerces-C++ for the C++/Tree mapping and Xerces-C++ +or Expat for the C++/Parser mapping. + +Xerces-C++ can be obtained from http://xerces.apache.org/xerces-c/. Most +GNU/Linux distributions provide precompiled binary packages for Xerces-C++. +You can also download precompiled Xerces-C++ libraries for a wide range of +platforms and compilers from http://xerces.apache.org/xerces-c/download.cgi + +Expat can be obtained from http://www.libexpat.org/. Most GNU/Linux +distributions provide precompiled binary packages for Expat. + + +Building Examples +----------------- + +To build examples you will need GNU make. All examples in the examples/ +directory come with simple makefiles. For instance, to build a hello +example in examples/cxx/tree you could execute the following commands: + +$ cd examples/cxx/tree/hello +$ make + +The following make variables affect the compilation process and can +be overridden from the command line: + +CXX - C++ compiler, by default 'g++' +CXXFLAGS - C++ options +CPPFLAGS - C/C++ Preprocessor options + +LIBS - Libraries to link with, by default '-lxerces-c' for the + C++/Tree examples and either '-lxerces-c' or '-lexpat' for + the C++/Parser examples, depending on XML_PARSER +LDFLAGS - Linker options + +XSD - XSD compiler, by default path to the XSD binary +XSDFLAGS - XSD options + +WITH_ACE - Set this variable to 1 if you would like to build examples + that depend on the ACE library + +WITH_XDR - Set this variable to 1 if you would like to build examples + that depend on the XDR API (available out of the box on + most GNU/Linux and UNIX systems) + +WITH_BOOST - Set this variable to 1 if you would like to build examples + that depend on the Boost date_time and serialization + libraries + +WITH_XQILLA - Set this variable to 1 if you would like to build examples + that depend on the XQilla library (XPath 2) + +WITH_DBXML - Set this variable to 1 if you would like to build examples + that depend on the Berkeley DB XML library + +Additionally, makefiles for the C++/Parser examples (examples/cxx/parser/) +allow you to choose the underlying XML parser: + +XML_PARSER - Underlying XML parser, can be 'xerces' (default) or 'expat' + + +For instance, if you would like to build an example using g++-4.0 instead +of the default g++ and would like to use Xerces-C++ from ~/xerces-c instead +of the default, system-wide installation, you could execute the following +command: + +$ make CXX=g++-4.0 \ + CPPFLAGS="-I ~/xerces-c/include" \ + LDFLAGS="-L ~/xerces-c/lib" diff --git a/dist/README-WINDOWS b/dist/README-WINDOWS new file mode 100644 index 0000000..fbc938c --- /dev/null +++ b/dist/README-WINDOWS @@ -0,0 +1,105 @@ +This package contains precompiled binaries of CodeSynthesis XSD, a +W3C XML Schema to C++ Data Binding compiler, built for Microsoft +Windows. For more information about XSD visit + +http://www.codesynthesis.com/products/xsd/ + +This README file describes how to start using XSD in the Microsoft +Windows environment with Microsoft Visual C++ 7.1 (.NET 2003), +Microsoft Visual C++ 8 (Visual Studio 2005), and Microsoft Visual +C++ 9 (Visual Studio 2008). + + +Prerequisites +------------- + +The XSD runtime library and the generated code depend on the Xerces-C++ +XML parser which you can obtain from http://xerces.apache.org/xerces-c/. +You can also download precompiled Xerces-C++ libraries for Windows from +http://xerces.apache.org/xerces-c/download.cgi + + +Environment +----------- + +Before you can start building examples or your applications that use XSD +you need to set include, library and executable search paths in the Visual +C++ IDE and the System Environment. + +1. Setting up Xerces-C++ + + First you need to set up Xerces-C++ include and library search paths. + If you already have Xerces-C++ set up in your development environment, + you can skip to the next step. Here we assume that your Xerces-C++ path + is C:\projects\xerces-c-x.y.z. If you have Xerces-C++ in a different + place you will need to adjust the paths below accordingly. + + + a) In the Visual C++ IDE, select "Tools"/"Options"/"Projects"/"VC++ + Directories". + + Then, in the "Show directories for" field, select "Include files" and + create a new entry with the value "C:\projects\xerces-c-x.y.z\include". + + After that, in the "Show directories for" field, select "Library files" + and create a new entry with the value "C:\projects\xerces-c-x.y.z\lib". + + + b) In the Control Panel, choose "System" and select the "Advanced" tab. + Click on the "Environment Variables" button. In the "System Variables" + list, select "Path" and add (via "Edit" button) the + ";C:\projects\xerces-c-x.y.z\bin" path at the end. + + +2. Setting up XSD + + Now you need to set up XSD executable and include search paths. Here + we assume that your XSD path is C:\projects\xsd-x.y.z. If you have XSD + in a different place you will need to adjust the paths below accordingly. + + + a) In the Visual C++ IDE, select "Tools"/"Options"/"Projects"/"VC++ + Directories". + + Then, in the "Show directories for" field, select "Include files" and + create a new entry with the value "C:\projects\xsd-x.y.z\libxsd". + + After that, in the "Show directories for" field, select "Executable + files" and create a new entry with the value "C:\projects\xsd-x.y.z\bin". + Make sure it is the first line in the list of directories (use the + "Up" button to move the new entry up, if necessary). + + +3. Restart the Visual C++ IDE. This is necessary for the new value of the + "Path" environment variable to take effect. + + +Building Examples +----------------- + +Now you are ready to build examples. Simply open the solution file +found in the examples/cxx/tree and examples/cxx/parser directories. + +Some of the examples depend on additional third-party libraries or +show a specific feature of XSD and are not included in the solutions +above. They come with their individual solution files: + +examples/cxx/tree/custom - examples of type customization +examples/cxx/tree/custom/calendar - depends on the Boost date_time library +examples/cxx/tree/binary/boost - depends on the Boost serialization library +examples/cxx/tree/binary/cdr - depends on the ACE library +examples/cxx/tree/binary/xdr - requires a third-party XDR library +examples/cxx/tree/xpath - depends on the XQilla library (XPath 2) +examples/cxx/tree/dbxml - depends on the Berkeley DB XML library + + +Using in Your Projects +---------------------- + +For various ways to integrate the XSD compiler with the Microsoft Visual +Studio IDE as well as other Visual Studio-specific topics, refer to the +Using XSD with Microsoft Visual Studio Wiki page: + +http://wiki.codesynthesis.com/Using_XSD_with_Microsoft_Visual_Studio + + diff --git a/dist/etc/vc-8.0/xsd-cxx-parser.rules b/dist/etc/vc-8.0/xsd-cxx-parser.rules new file mode 100644 index 0000000..ca9d053 --- /dev/null +++ b/dist/etc/vc-8.0/xsd-cxx-parser.rules @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/etc/vc-8.0/xsd-cxx-tree.rules b/dist/etc/vc-8.0/xsd-cxx-tree.rules new file mode 100644 index 0000000..d1d44fb --- /dev/null +++ b/dist/etc/vc-8.0/xsd-cxx-tree.rules @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/etc/vc-9.0/xsd-cxx-parser.rules b/dist/etc/vc-9.0/xsd-cxx-parser.rules new file mode 100644 index 0000000..ca9d053 --- /dev/null +++ b/dist/etc/vc-9.0/xsd-cxx-parser.rules @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/etc/vc-9.0/xsd-cxx-tree.rules b/dist/etc/vc-9.0/xsd-cxx-tree.rules new file mode 100644 index 0000000..5e63ce3 --- /dev/null +++ b/dist/etc/vc-9.0/xsd-cxx-tree.rules @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/build/cxx/compilers.make b/dist/examples/build/cxx/compilers.make new file mode 100644 index 0000000..fbab128 --- /dev/null +++ b/dist/examples/build/cxx/compilers.make @@ -0,0 +1,117 @@ +# file : examples/build/cxx/compilers.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2006 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +CXX := g++ + +cxx_sign := $(shell t=`$(CXX) -V 2>&1`; if test $$? -eq 0; then echo $$t; fi) + +ifeq ($(cxx_sign),) +cxx_sign := $(shell t=`$(CXX) --version 2>&1`; if test $$? -eq 0; then echo $$t; fi) +endif + +# IBM XL C++ V7.0 returns error code when called with the -qversion option. This +# complicates our life quite a bit. +# +ifeq ($(cxx_sign),) +cxx_sign := $(shell t=`$(CXX) -qversion 2>/dev/null`; echo $$t) +ifneq ($(shell echo '$(cxx_sign)' | sed -e 's/^.*IBM XL C\/C.. .*$$//'),) +cxx_sign := +endif +endif + +cxx_id := + +ifneq ($(cxx_sign),) + +# GNU g++ (g++) +# +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^[^ ]* (GCC) .*$$//'),) +cxx_id := gnu +endif +endif + +# g++ 4.3 removed GCC for some reason so check for g++ also. +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^g++.*$$//'),) +cxx_id := gnu +endif +endif + +# Sun C++ (CC) +# +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^[^ ]* Sun C.. .*$$//'),) +cxx_id := sun +endif +endif + + +# HP C++ (aCC) +# +# aCC3 and aCC6 are two very different compilers so we will call them +# hp3 and hp6. +# + +# 3 +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^[^ ]* HP ANSI C.. .* A\.03\..*$$//'),) +cxx_id := hp3 +endif +endif + +# 6 +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^[^ ]* HP aC..\/ANSI C .* A\.06\..*$$//'),) +cxx_id := hp6 +endif +endif + +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^[^ ]* HP C\/aC.. .* A\.06\..*$$//'),) +cxx_id := hp6 +endif +endif + +# Intel C++ (icpc) +# + +# 9.x +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^Intel(R) C.. .*$$//'),) +cxx_id := intel +endif +endif + +# 8.x +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^8\..$$//'),) +cxx_id := intel +endif +endif + + +# IBM XL C++ +# +ifeq ($(cxx_id),) +ifeq ($(shell echo '$(cxx_sign)' | sed -e 's/^.*IBM XL C\/C.. .*$$//'),) +cxx_id := ibm +endif +endif + + +# Unknown +# +ifeq ($(cxx_id),) +$(warning unknown C++ compiler signature '$(cxx_sign)', continuing anyway) +endif + + +else +$(warning unable to obtain compiler signature for '$(CXX)', continuing anyway) +endif + +#$(warning $(cxx_sign)) +#$(warning $(cxx_id)) diff --git a/dist/examples/build/cxx/rules.make b/dist/examples/build/cxx/rules.make new file mode 100644 index 0000000..1e448c0 --- /dev/null +++ b/dist/examples/build/cxx/rules.make @@ -0,0 +1,66 @@ +# file : examples/build/cxx/rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2006 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(root)/build/cxx/compilers.make + + +# GNU g++ +# +ifeq ($(cxx_id),gnu) + CXXFLAGS := -W -Wall -O3 +endif + + +# Intel C++ +# +ifeq ($(cxx_id),intel) + CXXFLAGS := -w1 -O2 +endif + + +# Sun C++ +# +ifeq ($(cxx_id),sun) + CXXFLAGS := -O +endif + + +# HP aCC3 +# +ifeq ($(cxx_id),hp3) + + # By default Xerces-C++ is built with -mt for aCC3. + # 849 : symbol to long, truncated to 4000 + # 1039: incompatible vtable layout + # + CXXFLAGS := -AA -O -mt +W849 +W1039 +endif + + +# HP aCC6 +# +ifeq ($(cxx_id),hp6) + + # By default Xerces-C++ is built with -mt for aCC6. + # 2334 no suitable copy constructor (e.g., for std::auto_ptr) + # + CXXFLAGS := -Aa -O -mt +W2334 +endif + + +# IBM XL C++ +# +ifeq ($(cxx_id),ibm) + CXXFLAGS := -qrtti -O +endif + + +# Rules. +# +%.o: %.cxx + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ + +%: %.o + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) diff --git a/dist/examples/build/xsd/common.make b/dist/examples/build/xsd/common.make new file mode 100644 index 0000000..dd65987 --- /dev/null +++ b/dist/examples/build/xsd/common.make @@ -0,0 +1,11 @@ +# file : examples/build/xsd/common.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2006 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +XSD := $(shell if test -x $(root)/../bin/xsd; \ + then echo $(root)/../bin/xsd; \ + else echo xsd; fi) + +override CPPFLAGS += $(shell if test -d $(root)/../libxsd; \ + then echo -I$(root)/../libxsd; fi) diff --git a/dist/examples/build/xsd/parser-rules.make b/dist/examples/build/xsd/parser-rules.make new file mode 100644 index 0000000..dd5f9aa --- /dev/null +++ b/dist/examples/build/xsd/parser-rules.make @@ -0,0 +1,23 @@ +# file : examples/build/xsd/parser-rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2006 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(root)/build/xsd/common.make + +XML_PARSER := xerces + +ifeq ($(XML_PARSER),xerces) +override LIBS := -lxerces-c $(LIBS) +else +override LIBS := -lexpat $(LIBS) +endif + +override XSDFLAGS += --xml-parser $(XML_PARSER) + +# Rules. +# +.PRECIOUS: %-pskel.hxx %-pskel.ixx %-pskel.cxx + +%-pskel.hxx %-pskel.ixx %-pskel.cxx: %.xsd + $(XSD) cxx-parser $(XSDFLAGS) $< diff --git a/dist/examples/build/xsd/tree-rules.make b/dist/examples/build/xsd/tree-rules.make new file mode 100644 index 0000000..3c90af7 --- /dev/null +++ b/dist/examples/build/xsd/tree-rules.make @@ -0,0 +1,15 @@ +# file : examples/build/xsd/tree-rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2006 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(root)/build/xsd/common.make + +override LIBS := -lxerces-c $(LIBS) + +# Rules. +# +.PRECIOUS: %.cxx %.hxx %.ixx + +%.cxx %.hxx %.ixx: %.xsd + $(XSD) cxx-tree $(XSDFLAGS) $< diff --git a/dist/examples/cxx/makefile b/dist/examples/cxx/makefile new file mode 100644 index 0000000..4882e9a --- /dev/null +++ b/dist/examples/cxx/makefile @@ -0,0 +1,11 @@ +dirs := parser tree + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + @$(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/dist/examples/cxx/parser/generated/generated-7.1.vcproj b/dist/examples/cxx/parser/generated/generated-7.1.vcproj new file mode 100644 index 0000000..0932856 --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-7.1.vcproj @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/generated-8.0.vcproj b/dist/examples/cxx/parser/generated/generated-8.0.vcproj new file mode 100644 index 0000000..e1c668c --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-8.0.vcproj @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/generated-9.0.vcproj b/dist/examples/cxx/parser/generated/generated-9.0.vcproj new file mode 100644 index 0000000..3025912 --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-9.0.vcproj @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/generated-xerces2-7.1.vcproj b/dist/examples/cxx/parser/generated/generated-xerces2-7.1.vcproj new file mode 100644 index 0000000..caf31bb --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-xerces2-7.1.vcproj @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/generated-xerces2-8.0.vcproj b/dist/examples/cxx/parser/generated/generated-xerces2-8.0.vcproj new file mode 100644 index 0000000..14867aa --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-xerces2-8.0.vcproj @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/generated-xerces2-9.0.vcproj b/dist/examples/cxx/parser/generated/generated-xerces2-9.0.vcproj new file mode 100644 index 0000000..3cefb45 --- /dev/null +++ b/dist/examples/cxx/parser/generated/generated-xerces2-9.0.vcproj @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/generated/makefile b/dist/examples/cxx/parser/generated/makefile new file mode 100644 index 0000000..b7bb4b8 --- /dev/null +++ b/dist/examples/cxx/parser/generated/makefile @@ -0,0 +1,49 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --generate-print-impl --generate-test-driver + +# If you are basing your own code on this example and make changes +# to the sample implementation and/or test driver, make sure you +# remove this option or your changes will be lost forever. +# +override XSDFLAGS += --force-overwrite + +# Build +# +library-driver: library-driver.o library-pskel.o library-pimpl.o + +library-driver.o: library-driver.cxx library-pimpl.hxx library-pskel.hxx +library-pimpl.o: library-pimpl.cxx library-pimpl.hxx library-pskel.hxx +library-pskel.o: library-pskel.cxx library-pskel.hxx + +library-pskel.hxx \ +library-pskel.cxx \ +library-pimpl.hxx \ +library-pimpl.cxx \ +library-driver.cxx : library.xsd + +# Change the pattern rule from parser-rules.make to include the sample +# implementation and test driver. +# +.PRECIOUS: %-pskel.hxx %-pskel.cxx %-pimpl.hxx %-pimpl.cxx %-driver.cxx + +%-pskel.hxx %-pskel.cxx %-pimpl.hxx %-pimpl.cxx %-driver.cxx: %.xsd + $(XSD) cxx-parser $(XSDFLAGS) $< + + +# Test. +# +.PHONY: test +test: library-driver library.xml + ./library-driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library-driver.?xx library-pimpl.?xx library-pskel.?xx + rm -f library-driver.o library-pimpl.o library-pskel.o library-driver diff --git a/dist/examples/cxx/parser/hello/hello-7.1.vcproj b/dist/examples/cxx/parser/hello/hello-7.1.vcproj new file mode 100644 index 0000000..d0f5ca5 --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-7.1.vcproj @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/hello-8.0.vcproj b/dist/examples/cxx/parser/hello/hello-8.0.vcproj new file mode 100644 index 0000000..841e602 --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-8.0.vcproj @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/hello-9.0.vcproj b/dist/examples/cxx/parser/hello/hello-9.0.vcproj new file mode 100644 index 0000000..6223e65 --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-9.0.vcproj @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/hello-xerces2-7.1.vcproj b/dist/examples/cxx/parser/hello/hello-xerces2-7.1.vcproj new file mode 100644 index 0000000..51b3bdf --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-xerces2-7.1.vcproj @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/hello-xerces2-8.0.vcproj b/dist/examples/cxx/parser/hello/hello-xerces2-8.0.vcproj new file mode 100644 index 0000000..ae0a8a9 --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-xerces2-8.0.vcproj @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/hello-xerces2-9.0.vcproj b/dist/examples/cxx/parser/hello/hello-xerces2-9.0.vcproj new file mode 100644 index 0000000..fb407b9 --- /dev/null +++ b/dist/examples/cxx/parser/hello/hello-xerces2-9.0.vcproj @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/hello/makefile b/dist/examples/cxx/parser/hello/makefile new file mode 100644 index 0000000..5746c6f --- /dev/null +++ b/dist/examples/cxx/parser/hello/makefile @@ -0,0 +1,28 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + + +# Build. +# +driver: driver.o hello-pskel.o + +driver.o: driver.cxx hello-pskel.hxx +hello-pskel.o: hello-pskel.cxx hello-pskel.hxx + +hello-pskel.hxx hello-pskel.cxx: hello.xsd + + +# Test. +# +.PHONY: test +test: driver hello.xml + ./driver hello.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f hello-pskel.?xx hello-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/library/library-7.1.vcproj b/dist/examples/cxx/parser/library/library-7.1.vcproj new file mode 100644 index 0000000..98dce27 --- /dev/null +++ b/dist/examples/cxx/parser/library/library-7.1.vcproj @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/library-8.0.vcproj b/dist/examples/cxx/parser/library/library-8.0.vcproj new file mode 100644 index 0000000..bb45f42 --- /dev/null +++ b/dist/examples/cxx/parser/library/library-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/library-9.0.vcproj b/dist/examples/cxx/parser/library/library-9.0.vcproj new file mode 100644 index 0000000..93c9f6c --- /dev/null +++ b/dist/examples/cxx/parser/library/library-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/library-xerces2-7.1.vcproj b/dist/examples/cxx/parser/library/library-xerces2-7.1.vcproj new file mode 100644 index 0000000..7585fea --- /dev/null +++ b/dist/examples/cxx/parser/library/library-xerces2-7.1.vcproj @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/library-xerces2-8.0.vcproj b/dist/examples/cxx/parser/library/library-xerces2-8.0.vcproj new file mode 100644 index 0000000..6bd700b --- /dev/null +++ b/dist/examples/cxx/parser/library/library-xerces2-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/library-xerces2-9.0.vcproj b/dist/examples/cxx/parser/library/library-xerces2-9.0.vcproj new file mode 100644 index 0000000..0364547 --- /dev/null +++ b/dist/examples/cxx/parser/library/library-xerces2-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/library/makefile b/dist/examples/cxx/parser/library/makefile new file mode 100644 index 0000000..f96353b --- /dev/null +++ b/dist/examples/cxx/parser/library/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --generate-inline --type-map library.map + +# Build +# +driver: driver.o library-pskel.o library-pimpl.o + +driver.o: driver.cxx library-pimpl.hxx library-pskel.hxx library.hxx +library-pimpl.o: library-pimpl.cxx library-pimpl.hxx library-pskel.hxx library.hxx +library-pskel.o: library-pskel.cxx library-pskel.hxx library.hxx + +library-pskel.hxx library-pskel.ixx library-pskel.cxx: library.xsd library.map + + +# Test. +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library-pskel.?xx library-pimpl.o library-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/makefile b/dist/examples/cxx/parser/makefile new file mode 100644 index 0000000..b778cbd --- /dev/null +++ b/dist/examples/cxx/parser/makefile @@ -0,0 +1,12 @@ +dirs := generated hello library mixin mixed multiroot performance \ +polymorphism polyroot wildcard + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + @$(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/dist/examples/cxx/parser/mixed/makefile b/dist/examples/cxx/parser/mixed/makefile new file mode 100644 index 0000000..edd28b2 --- /dev/null +++ b/dist/examples/cxx/parser/mixed/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --type-map text.map + +# Build. +# +driver: driver.o text-pskel.o + +driver.o: driver.cxx text-pskel.hxx anchor.hxx +text-pskel.o: text-pskel.cxx text-pskel.hxx anchor.hxx + +text-pskel.hxx text-pskel.cxx: text.xsd text.map + + +# Test. +# +.PHONY: test +test: driver text.xml + ./driver text.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f text-pskel.?xx text-pskel.o driver.o driver + diff --git a/dist/examples/cxx/parser/mixed/mixed-7.1.vcproj b/dist/examples/cxx/parser/mixed/mixed-7.1.vcproj new file mode 100644 index 0000000..09f05f1 --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-7.1.vcproj @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixed/mixed-8.0.vcproj b/dist/examples/cxx/parser/mixed/mixed-8.0.vcproj new file mode 100644 index 0000000..7a3a9fc --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixed/mixed-9.0.vcproj b/dist/examples/cxx/parser/mixed/mixed-9.0.vcproj new file mode 100644 index 0000000..a283dad --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixed/mixed-xerces2-7.1.vcproj b/dist/examples/cxx/parser/mixed/mixed-xerces2-7.1.vcproj new file mode 100644 index 0000000..1aa766f --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-xerces2-7.1.vcproj @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixed/mixed-xerces2-8.0.vcproj b/dist/examples/cxx/parser/mixed/mixed-xerces2-8.0.vcproj new file mode 100644 index 0000000..49476a1 --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixed/mixed-xerces2-9.0.vcproj b/dist/examples/cxx/parser/mixed/mixed-xerces2-9.0.vcproj new file mode 100644 index 0000000..de84d74 --- /dev/null +++ b/dist/examples/cxx/parser/mixed/mixed-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/makefile b/dist/examples/cxx/parser/mixin/makefile new file mode 100644 index 0000000..551519d --- /dev/null +++ b/dist/examples/cxx/parser/mixin/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --type-map schema.map + + +# Build. +# +driver: driver.o schema-pskel.o + +driver.o: driver.cxx schema-pskel.hxx types.hxx +schema-pskel.o: schema-pskel.cxx schema-pskel.hxx types.hxx + +schema-pskel.hxx schema-pskel.cxx: schema.xsd schema.map + +# Test. +# +.PHONY: test +test: driver instance.xml + ./driver instance.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f schema-pskel.?xx schema-pskel.o driver.o driver + diff --git a/dist/examples/cxx/parser/mixin/mixin-7.1.vcproj b/dist/examples/cxx/parser/mixin/mixin-7.1.vcproj new file mode 100644 index 0000000..0dda903 --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-7.1.vcproj @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/mixin-8.0.vcproj b/dist/examples/cxx/parser/mixin/mixin-8.0.vcproj new file mode 100644 index 0000000..558f449 --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/mixin-9.0.vcproj b/dist/examples/cxx/parser/mixin/mixin-9.0.vcproj new file mode 100644 index 0000000..2457d2f --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/mixin-xerces2-7.1.vcproj b/dist/examples/cxx/parser/mixin/mixin-xerces2-7.1.vcproj new file mode 100644 index 0000000..39e6cdc --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-xerces2-7.1.vcproj @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/mixin-xerces2-8.0.vcproj b/dist/examples/cxx/parser/mixin/mixin-xerces2-8.0.vcproj new file mode 100644 index 0000000..5e4e495 --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/mixin/mixin-xerces2-9.0.vcproj b/dist/examples/cxx/parser/mixin/mixin-xerces2-9.0.vcproj new file mode 100644 index 0000000..e519aef --- /dev/null +++ b/dist/examples/cxx/parser/mixin/mixin-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/makefile b/dist/examples/cxx/parser/multiroot/makefile new file mode 100644 index 0000000..c45e3f3 --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/makefile @@ -0,0 +1,32 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --type-map protocol.map + +# Build +# +driver: driver.o protocol-pskel.o protocol-pimpl.o + +driver.o: driver.cxx protocol-pimpl.hxx protocol-pskel.hxx protocol.hxx +protocol-pimpl.o: protocol-pimpl.cxx protocol-pimpl.hxx protocol-pskel.hxx protocol.hxx +protocol-pskel.o: protocol-pskel.cxx protocol-pskel.hxx protocol.hxx + +protocol-pskel.hxx protocol-pskel.cxx: protocol.xsd protocol.map + + +# 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-pskel.?xx protocol-pimpl.o protocol-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/multiroot/multiroot-7.1.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-7.1.vcproj new file mode 100644 index 0000000..7855b8c --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-7.1.vcproj @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/multiroot-8.0.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-8.0.vcproj new file mode 100644 index 0000000..be8f5ef --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-8.0.vcproj @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/multiroot-9.0.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-9.0.vcproj new file mode 100644 index 0000000..e77e1f7 --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-9.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/multiroot-xerces2-7.1.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-7.1.vcproj new file mode 100644 index 0000000..8510fbb --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-7.1.vcproj @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/multiroot-xerces2-8.0.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-8.0.vcproj new file mode 100644 index 0000000..6deabc8 --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-8.0.vcproj @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/multiroot/multiroot-xerces2-9.0.vcproj b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-9.0.vcproj new file mode 100644 index 0000000..c2a7264 --- /dev/null +++ b/dist/examples/cxx/parser/multiroot/multiroot-xerces2-9.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/parser-7.1.sln b/dist/examples/cxx/parser/parser-7.1.sln new file mode 100644 index 0000000..f274b0b --- /dev/null +++ b/dist/examples/cxx/parser/parser-7.1.sln @@ -0,0 +1,93 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-7.1.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-7.1.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-7.1.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-7.1.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-7.1.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-7.1.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-7.1.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-7.1.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-7.1.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-7.1.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/parser-8.0.sln b/dist/examples/cxx/parser/parser-8.0.sln new file mode 100644 index 0000000..bbb3691 --- /dev/null +++ b/dist/examples/cxx/parser/parser-8.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-8.0.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-8.0.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-8.0.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-8.0.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-8.0.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-8.0.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-8.0.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-8.0.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-8.0.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-8.0.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.ActiveCfg = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.Build.0 = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.Build.0 = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.ActiveCfg = Release|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.Build.0 = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.ActiveCfg = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.Build.0 = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.ActiveCfg = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.Build.0 = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.ActiveCfg = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.Build.0 = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.ActiveCfg = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.Build.0 = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.ActiveCfg = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.Build.0 = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.ActiveCfg = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.Build.0 = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.ActiveCfg = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.Build.0 = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.ActiveCfg = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.Build.0 = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.ActiveCfg = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.Build.0 = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.ActiveCfg = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.Build.0 = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.ActiveCfg = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.Build.0 = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.ActiveCfg = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.Build.0 = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.ActiveCfg = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.Build.0 = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.ActiveCfg = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.Build.0 = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.ActiveCfg = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.Build.0 = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.ActiveCfg = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.Build.0 = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.ActiveCfg = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.Build.0 = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.ActiveCfg = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/parser-9.0.sln b/dist/examples/cxx/parser/parser-9.0.sln new file mode 100644 index 0000000..aa5f95d --- /dev/null +++ b/dist/examples/cxx/parser/parser-9.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-9.0.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-9.0.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-9.0.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-9.0.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-9.0.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-9.0.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-9.0.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-9.0.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-9.0.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-9.0.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.ActiveCfg = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.Build.0 = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.Build.0 = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.ActiveCfg = Release|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.Build.0 = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.ActiveCfg = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.Build.0 = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.ActiveCfg = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.Build.0 = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.ActiveCfg = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.Build.0 = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.ActiveCfg = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.Build.0 = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.ActiveCfg = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.Build.0 = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.ActiveCfg = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.Build.0 = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.ActiveCfg = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.Build.0 = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.ActiveCfg = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.Build.0 = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.ActiveCfg = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.Build.0 = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.ActiveCfg = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.Build.0 = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.ActiveCfg = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.Build.0 = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.ActiveCfg = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.Build.0 = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.ActiveCfg = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.Build.0 = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.ActiveCfg = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.Build.0 = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.ActiveCfg = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.Build.0 = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.ActiveCfg = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.Build.0 = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.ActiveCfg = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.Build.0 = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.ActiveCfg = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/parser-xerces2-7.1.sln b/dist/examples/cxx/parser/parser-xerces2-7.1.sln new file mode 100644 index 0000000..83886e5 --- /dev/null +++ b/dist/examples/cxx/parser/parser-xerces2-7.1.sln @@ -0,0 +1,93 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-7.1.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-7.1.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-xerces2-7.1.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-7.1.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-xerces2-7.1.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-7.1.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-7.1.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-xerces2-7.1.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-7.1.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-7.1.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/parser-xerces2-8.0.sln b/dist/examples/cxx/parser/parser-xerces2-8.0.sln new file mode 100644 index 0000000..e2e0743 --- /dev/null +++ b/dist/examples/cxx/parser/parser-xerces2-8.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-8.0.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-8.0.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-xerces2-8.0.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-8.0.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-xerces2-8.0.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-8.0.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-8.0.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-xerces2-8.0.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-8.0.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-8.0.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.ActiveCfg = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.Build.0 = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.Build.0 = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.ActiveCfg = Release|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.Build.0 = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.ActiveCfg = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.Build.0 = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.ActiveCfg = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.Build.0 = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.ActiveCfg = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.Build.0 = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.ActiveCfg = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.Build.0 = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.ActiveCfg = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.Build.0 = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.ActiveCfg = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.Build.0 = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.ActiveCfg = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.Build.0 = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.ActiveCfg = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.Build.0 = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.ActiveCfg = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.Build.0 = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.ActiveCfg = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.Build.0 = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.ActiveCfg = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.Build.0 = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.ActiveCfg = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.Build.0 = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.ActiveCfg = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.Build.0 = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.ActiveCfg = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.Build.0 = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.ActiveCfg = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.Build.0 = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.ActiveCfg = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.Build.0 = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.ActiveCfg = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.Build.0 = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.ActiveCfg = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/parser-xerces2-9.0.sln b/dist/examples/cxx/parser/parser-xerces2-9.0.sln new file mode 100644 index 0000000..39fffe1 --- /dev/null +++ b/dist/examples/cxx/parser/parser-xerces2-9.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-9.0.vcproj", "{683E9D46-FCC7-4163-984B-9F399169CF7F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-9.0.vcproj", "{D66DAC4D-133C-4DB5-923F-C88A961C3C51}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixin", "mixin\mixin-xerces2-9.0.vcproj", "{8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-9.0.vcproj", "{304FD6A7-6C73-41C3-B489-97FD5E635CCB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generated", "generated\generated-xerces2-9.0.vcproj", "{4277B39A-C9FB-4F10-8223-8DD38053EDA0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-9.0.vcproj", "{3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-9.0.vcproj", "{E05F914A-490B-4780-9BAB-1ED225B3DBEE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polyroot", "polyroot\polyroot-xerces2-9.0.vcproj", "{FB2098FC-CE8C-4A6B-A064-E2705324A16A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-9.0.vcproj", "{9832425B-38D5-44EC-AED6-3ED4353B24EA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-9.0.vcproj", "{676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.ActiveCfg = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|Win32.Build.0 = Debug|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.ActiveCfg = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Debug|x64.Build.0 = Debug|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.ActiveCfg = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|Win32.Build.0 = Release|Win32 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.ActiveCfg = Release|x64 + {683E9D46-FCC7-4163-984B-9F399169CF7F}.Release|x64.Build.0 = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.ActiveCfg = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|Win32.Build.0 = Debug|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.ActiveCfg = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Debug|x64.Build.0 = Debug|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.ActiveCfg = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|Win32.Build.0 = Release|Win32 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.ActiveCfg = Release|x64 + {D66DAC4D-133C-4DB5-923F-C88A961C3C51}.Release|x64.Build.0 = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.ActiveCfg = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|Win32.Build.0 = Debug|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.ActiveCfg = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Debug|x64.Build.0 = Debug|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.ActiveCfg = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|Win32.Build.0 = Release|Win32 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.ActiveCfg = Release|x64 + {8CCA6181-F2CE-4E5E-A20E-4E1E53A35125}.Release|x64.Build.0 = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.ActiveCfg = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|Win32.Build.0 = Debug|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.ActiveCfg = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Debug|x64.Build.0 = Debug|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.ActiveCfg = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|Win32.Build.0 = Release|Win32 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.ActiveCfg = Release|x64 + {304FD6A7-6C73-41C3-B489-97FD5E635CCB}.Release|x64.Build.0 = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.ActiveCfg = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|Win32.Build.0 = Debug|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.ActiveCfg = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Debug|x64.Build.0 = Debug|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.ActiveCfg = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|Win32.Build.0 = Release|Win32 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.ActiveCfg = Release|x64 + {4277B39A-C9FB-4F10-8223-8DD38053EDA0}.Release|x64.Build.0 = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.ActiveCfg = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|Win32.Build.0 = Debug|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.ActiveCfg = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Debug|x64.Build.0 = Debug|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.ActiveCfg = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|Win32.Build.0 = Release|Win32 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.ActiveCfg = Release|x64 + {3AC187DF-4FDF-40B7-9E12-002DC0A15EDB}.Release|x64.Build.0 = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.ActiveCfg = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|Win32.Build.0 = Debug|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.ActiveCfg = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Debug|x64.Build.0 = Debug|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.ActiveCfg = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|Win32.Build.0 = Release|Win32 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.ActiveCfg = Release|x64 + {E05F914A-490B-4780-9BAB-1ED225B3DBEE}.Release|x64.Build.0 = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.ActiveCfg = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|Win32.Build.0 = Debug|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.ActiveCfg = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Debug|x64.Build.0 = Debug|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.ActiveCfg = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|Win32.Build.0 = Release|Win32 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.ActiveCfg = Release|x64 + {FB2098FC-CE8C-4A6B-A064-E2705324A16A}.Release|x64.Build.0 = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.ActiveCfg = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|Win32.Build.0 = Debug|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.ActiveCfg = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Debug|x64.Build.0 = Debug|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.ActiveCfg = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|Win32.Build.0 = Release|Win32 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.ActiveCfg = Release|x64 + {9832425B-38D5-44EC-AED6-3ED4353B24EA}.Release|x64.Build.0 = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.ActiveCfg = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|Win32.Build.0 = Debug|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.ActiveCfg = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Debug|x64.Build.0 = Debug|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.ActiveCfg = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|Win32.Build.0 = Release|Win32 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.ActiveCfg = Release|x64 + {676CB1A8-1060-4B7F-86FA-5F8F01AB80BD}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/parser/performance/makefile b/dist/examples/cxx/parser/performance/makefile new file mode 100644 index 0000000..a98e86a --- /dev/null +++ b/dist/examples/cxx/parser/performance/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --generate-inline + +# Build. +# +driver: driver.o test-pskel.o time.o + +driver.o: driver.cxx test-pskel.hxx test-pskel.ixx time.hxx +test-pskel.o: test-pskel.cxx test-pskel.hxx test-pskel.ixx +time.o: time.cxx time.hxx + +test-pskel.hxx test-pskel.ixx test-pskel.cxx: test.xsd + + +# Test. +# +.PHONY: test +test: driver test-50k.xml + ./driver test-50k.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f test-pskel.?xx test-pskel.o driver.o time.o driver diff --git a/dist/examples/cxx/parser/performance/performance-7.1.vcproj b/dist/examples/cxx/parser/performance/performance-7.1.vcproj new file mode 100644 index 0000000..3326752 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-7.1.vcproj @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/performance/performance-8.0.vcproj b/dist/examples/cxx/parser/performance/performance-8.0.vcproj new file mode 100644 index 0000000..5ff8ff0 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-8.0.vcproj @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/performance/performance-9.0.vcproj b/dist/examples/cxx/parser/performance/performance-9.0.vcproj new file mode 100644 index 0000000..e980e74 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-9.0.vcproj @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/performance/performance-xerces2-7.1.vcproj b/dist/examples/cxx/parser/performance/performance-xerces2-7.1.vcproj new file mode 100644 index 0000000..68498f8 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-xerces2-7.1.vcproj @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/performance/performance-xerces2-8.0.vcproj b/dist/examples/cxx/parser/performance/performance-xerces2-8.0.vcproj new file mode 100644 index 0000000..c50f283 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-xerces2-8.0.vcproj @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/performance/performance-xerces2-9.0.vcproj b/dist/examples/cxx/parser/performance/performance-xerces2-9.0.vcproj new file mode 100644 index 0000000..5f50ab8 --- /dev/null +++ b/dist/examples/cxx/parser/performance/performance-xerces2-9.0.vcproj @@ -0,0 +1,424 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/makefile b/dist/examples/cxx/parser/polymorphism/makefile new file mode 100644 index 0000000..935661d --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --generate-polymorphic + +# Build +# +driver: driver.o supermen-pskel.o supermen-pimpl.o + +driver.o: driver.cxx supermen-pimpl.hxx supermen-pskel.hxx +supermen-pimpl.o: supermen-pimpl.cxx supermen-pimpl.hxx supermen-pskel.hxx +supermen-pskel.o: supermen-pskel.cxx supermen-pskel.hxx + +supermen-pskel.hxx supermen-pskel.cxx: supermen.xsd + + +# Test. +# +.PHONY: test +test: driver supermen.xml + ./driver supermen.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f supermen-pskel.?xx supermen-pimpl.o supermen-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-7.1.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-7.1.vcproj new file mode 100644 index 0000000..9f0724b --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-8.0.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-8.0.vcproj new file mode 100644 index 0000000..d6a0503 --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-9.0.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-9.0.vcproj new file mode 100644 index 0000000..a504d67 --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-7.1.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-7.1.vcproj new file mode 100644 index 0000000..c407617 --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-8.0.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-8.0.vcproj new file mode 100644 index 0000000..5b478dc --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-9.0.vcproj b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-9.0.vcproj new file mode 100644 index 0000000..94d0e59 --- /dev/null +++ b/dist/examples/cxx/parser/polymorphism/polymorphism-xerces2-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/makefile b/dist/examples/cxx/parser/polyroot/makefile new file mode 100644 index 0000000..487ad08 --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/makefile @@ -0,0 +1,31 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + +override XSDFLAGS += --generate-polymorphic + +# Build +# +driver: driver.o supermen-pskel.o supermen-pimpl.o + +driver.o: driver.cxx supermen-pimpl.hxx supermen-pskel.hxx +supermen-pimpl.o: supermen-pimpl.cxx supermen-pimpl.hxx supermen-pskel.hxx +supermen-pskel.o: supermen-pskel.cxx supermen-pskel.hxx + +supermen-pskel.hxx supermen-pskel.cxx: supermen.xsd + + +# Test. +# +.PHONY: test +test: driver person.xml superman.xml batman.xml + ./driver person.xml + ./driver superman.xml + ./driver batman.xml + +# Clean. +# +.PHONY: clean +clean: + rm -f supermen-pskel.?xx supermen-pimpl.o supermen-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/polyroot/polyroot-7.1.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-7.1.vcproj new file mode 100644 index 0000000..a725981 --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/polyroot-8.0.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-8.0.vcproj new file mode 100644 index 0000000..d62670f --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/polyroot-9.0.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-9.0.vcproj new file mode 100644 index 0000000..33d4daa --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/polyroot-xerces2-7.1.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-7.1.vcproj new file mode 100644 index 0000000..1cf2d7b --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/polyroot-xerces2-8.0.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-8.0.vcproj new file mode 100644 index 0000000..13ee0c1 --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/polyroot/polyroot-xerces2-9.0.vcproj b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-9.0.vcproj new file mode 100644 index 0000000..792cac2 --- /dev/null +++ b/dist/examples/cxx/parser/polyroot/polyroot-xerces2-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/makefile b/dist/examples/cxx/parser/wildcard/makefile new file mode 100644 index 0000000..924e937 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/makefile @@ -0,0 +1,28 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/parser-rules.make + + +# Build. +# +driver: driver.o email-pskel.o + +driver.o: driver.cxx email-pskel.hxx +email-pskel.o: email-pskel.cxx email-pskel.hxx + +email-pskel.hxx email-pskel.cxx: email.xsd + + +# Test. +# +.PHONY: test +test: driver email.xml + ./driver email.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f email-pskel.?xx email-pskel.o driver.o driver diff --git a/dist/examples/cxx/parser/wildcard/wildcard-7.1.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-7.1.vcproj new file mode 100644 index 0000000..a689a5f --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-7.1.vcproj @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/wildcard-8.0.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-8.0.vcproj new file mode 100644 index 0000000..a84eda5 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-8.0.vcproj @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/wildcard-9.0.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-9.0.vcproj new file mode 100644 index 0000000..a016883 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-9.0.vcproj @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/wildcard-xerces2-7.1.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-7.1.vcproj new file mode 100644 index 0000000..b1cca07 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-7.1.vcproj @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/wildcard-xerces2-8.0.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-8.0.vcproj new file mode 100644 index 0000000..15a62f2 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-8.0.vcproj @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/parser/wildcard/wildcard-xerces2-9.0.vcproj b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-9.0.vcproj new file mode 100644 index 0000000..8ff8985 --- /dev/null +++ b/dist/examples/cxx/parser/wildcard/wildcard-xerces2-9.0.vcproj @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-7.1.sln b/dist/examples/cxx/tree/binary/boost/boost-7.1.sln new file mode 100644 index 0000000..a819e22 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-7.1.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-7.1.vcproj b/dist/examples/cxx/tree/binary/boost/boost-7.1.vcproj new file mode 100644 index 0000000..1332c12 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-7.1.vcproj @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-8.0.sln b/dist/examples/cxx/tree/binary/boost/boost-8.0.sln new file mode 100644 index 0000000..1cfe184 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-8.0.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.ActiveCfg = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.Build.0 = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.Build.0 = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.ActiveCfg = Release|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-8.0.vcproj b/dist/examples/cxx/tree/binary/boost/boost-8.0.vcproj new file mode 100644 index 0000000..82d23ae --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-8.0.vcproj @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-9.0.sln b/dist/examples/cxx/tree/binary/boost/boost-9.0.sln new file mode 100644 index 0000000..b1c69ef --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-9.0.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.ActiveCfg = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.Build.0 = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.Build.0 = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.ActiveCfg = Release|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-9.0.vcproj b/dist/examples/cxx/tree/binary/boost/boost-9.0.vcproj new file mode 100644 index 0000000..f5369af --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-9.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.sln b/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.sln new file mode 100644 index 0000000..f6493d6 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-xerces2-7.1.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.vcproj b/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.vcproj new file mode 100644 index 0000000..5081f38 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-7.1.vcproj @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.sln b/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.sln new file mode 100644 index 0000000..34ae78e --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-xerces2-8.0.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.ActiveCfg = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.Build.0 = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.Build.0 = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.ActiveCfg = Release|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.vcproj b/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.vcproj new file mode 100644 index 0000000..a3910f4 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-8.0.vcproj @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.sln b/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.sln new file mode 100644 index 0000000..9e2d81e --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost", "boost-xerces2-9.0.vcproj", "{0C3A70E2-F673-46B7-B23D-9888266918D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.ActiveCfg = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|Win32.Build.0 = Debug|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.ActiveCfg = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Debug|x64.Build.0 = Debug|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.ActiveCfg = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|Win32.Build.0 = Release|Win32 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.ActiveCfg = Release|x64 + {0C3A70E2-F673-46B7-B23D-9888266918D5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.vcproj b/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.vcproj new file mode 100644 index 0000000..f1d01ef --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/boost-xerces2-9.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/boost/makefile b/dist/examples/cxx/tree/binary/boost/makefile new file mode 100644 index 0000000..7c35f02 --- /dev/null +++ b/dist/examples/cxx/tree/binary/boost/makefile @@ -0,0 +1,37 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-ostream \ +--hxx-prologue-file library-prologue.hxx \ +--generate-insertion boost::archive::text_oarchive \ +--generate-extraction boost::archive::text_iarchive + + +override LIBS += -lboost_serialization + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx boost-archive-insertion.hxx boost-archive-extraction.hxx +driver.o: driver.cxx library.hxx boost-archive-insertion.hxx boost-archive-extraction.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-7.1.sln b/dist/examples/cxx/tree/binary/cdr/cdr-7.1.sln new file mode 100644 index 0000000..ba99300 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-7.1.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-7.1.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-7.1.vcproj new file mode 100644 index 0000000..90cc1ef --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-8.0.sln b/dist/examples/cxx/tree/binary/cdr/cdr-8.0.sln new file mode 100644 index 0000000..d56f85b --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-8.0.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.ActiveCfg = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.Build.0 = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.Build.0 = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.ActiveCfg = Release|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-8.0.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-8.0.vcproj new file mode 100644 index 0000000..d35171a --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-9.0.sln b/dist/examples/cxx/tree/binary/cdr/cdr-9.0.sln new file mode 100644 index 0000000..873085c --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-9.0.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.ActiveCfg = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.Build.0 = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.Build.0 = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.ActiveCfg = Release|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-9.0.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-9.0.vcproj new file mode 100644 index 0000000..f379d83 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.sln b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.sln new file mode 100644 index 0000000..c704679 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-xerces2-7.1.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.vcproj new file mode 100644 index 0000000..1723d58 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.sln b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.sln new file mode 100644 index 0000000..3ffce8e --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-xerces2-8.0.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.ActiveCfg = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.Build.0 = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.Build.0 = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.ActiveCfg = Release|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.vcproj new file mode 100644 index 0000000..2b469a2 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.sln b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.sln new file mode 100644 index 0000000..2ec0fbd --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cdr", "cdr-xerces2-9.0.vcproj", "{A8CC2814-5056-4953-8B4C-E52E72ADD36C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.ActiveCfg = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|Win32.Build.0 = Debug|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.ActiveCfg = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Debug|x64.Build.0 = Debug|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.ActiveCfg = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|Win32.Build.0 = Release|Win32 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.ActiveCfg = Release|x64 + {A8CC2814-5056-4953-8B4C-E52E72ADD36C}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.vcproj b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.vcproj new file mode 100644 index 0000000..21d8cd9 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/cdr-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/cdr/makefile b/dist/examples/cxx/tree/binary/cdr/makefile new file mode 100644 index 0000000..a2d9848 --- /dev/null +++ b/dist/examples/cxx/tree/binary/cdr/makefile @@ -0,0 +1,35 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-ostream --generate-insertion ACE_OutputCDR \ +--generate-extraction ACE_InputCDR + + +override LIBS += -lACE + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx +driver.o: driver.cxx library.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver diff --git a/dist/examples/cxx/tree/binary/makefile b/dist/examples/cxx/tree/binary/makefile new file mode 100644 index 0000000..d337eb5 --- /dev/null +++ b/dist/examples/cxx/tree/binary/makefile @@ -0,0 +1,25 @@ +dirs := + +ifeq ($(WITH_BOOST),1) +dirs += boost +endif + + +ifeq ($(WITH_ACE),1) +dirs += cdr +endif + +ifeq ($(WITH_XDR),1) +dirs += xdr +endif + + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + @$(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/dist/examples/cxx/tree/binary/xdr/makefile b/dist/examples/cxx/tree/binary/xdr/makefile new file mode 100644 index 0000000..a9123d7 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/makefile @@ -0,0 +1,35 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-ostream --generate-insertion XDR \ +--generate-extraction XDR + + +override LIBS += -lnsl + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx +driver.o: driver.cxx library.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln new file mode 100644 index 0000000..0a3d261 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-7.1.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj new file mode 100644 index 0000000..8d43d7f --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln new file mode 100644 index 0000000..139be58 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-8.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj new file mode 100644 index 0000000..f83c026 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln new file mode 100644 index 0000000..65f094f --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-9.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj new file mode 100644 index 0000000..34ca6b4 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln new file mode 100644 index 0000000..5526613 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-7.1.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj new file mode 100644 index 0000000..c592fbd --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln new file mode 100644 index 0000000..9ee2ee2 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-8.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj new file mode 100644 index 0000000..23f2030 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln new file mode 100644 index 0000000..6e0a25a --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-9.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj new file mode 100644 index 0000000..75b0331 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-7.1.vcproj b/dist/examples/cxx/tree/caching/caching-7.1.vcproj new file mode 100644 index 0000000..1ad875a --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-8.0.vcproj b/dist/examples/cxx/tree/caching/caching-8.0.vcproj new file mode 100644 index 0000000..86cd5b5 --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-9.0.vcproj b/dist/examples/cxx/tree/caching/caching-9.0.vcproj new file mode 100644 index 0000000..5646e0d --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-xerces2-7.1.vcproj b/dist/examples/cxx/tree/caching/caching-xerces2-7.1.vcproj new file mode 100644 index 0000000..251c087 --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-xerces2-8.0.vcproj b/dist/examples/cxx/tree/caching/caching-xerces2-8.0.vcproj new file mode 100644 index 0000000..e406b44 --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/caching-xerces2-9.0.vcproj b/dist/examples/cxx/tree/caching/caching-xerces2-9.0.vcproj new file mode 100644 index 0000000..85fde70 --- /dev/null +++ b/dist/examples/cxx/tree/caching/caching-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/caching/makefile b/dist/examples/cxx/tree/caching/makefile new file mode 100644 index 0000000..d8d33fd --- /dev/null +++ b/dist/examples/cxx/tree/caching/makefile @@ -0,0 +1,28 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx +driver.o: driver.cxx library.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-7.1.sln b/dist/examples/cxx/tree/custom/calendar/calendar-7.1.sln new file mode 100644 index 0000000..fb9c8e9 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-7.1.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-7.1.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-7.1.vcproj new file mode 100644 index 0000000..c307908 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-7.1.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-8.0.sln b/dist/examples/cxx/tree/custom/calendar/calendar-8.0.sln new file mode 100644 index 0000000..52f98df --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-8.0.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.ActiveCfg = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.Build.0 = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.Build.0 = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.ActiveCfg = Release|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-8.0.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-8.0.vcproj new file mode 100644 index 0000000..e04807f --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-8.0.vcproj @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-9.0.sln b/dist/examples/cxx/tree/custom/calendar/calendar-9.0.sln new file mode 100644 index 0000000..ddaadad --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-9.0.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.ActiveCfg = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.Build.0 = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.Build.0 = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.ActiveCfg = Release|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-9.0.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-9.0.vcproj new file mode 100644 index 0000000..d3a189a --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-9.0.vcproj @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.sln b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.sln new file mode 100644 index 0000000..efc2856 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-xerces2-7.1.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.vcproj new file mode 100644 index 0000000..46f54ea --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-7.1.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.sln b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.sln new file mode 100644 index 0000000..5701549 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-xerces2-8.0.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.ActiveCfg = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.Build.0 = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.Build.0 = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.ActiveCfg = Release|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.vcproj new file mode 100644 index 0000000..7ba96cc --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-8.0.vcproj @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.sln b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.sln new file mode 100644 index 0000000..982fa39 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "calendar", "calendar-xerces2-9.0.vcproj", "{2DB41EF7-0BED-45BA-A311-44D2719BFE09}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.ActiveCfg = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|Win32.Build.0 = Debug|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.ActiveCfg = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Debug|x64.Build.0 = Debug|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.ActiveCfg = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|Win32.Build.0 = Release|Win32 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.ActiveCfg = Release|x64 + {2DB41EF7-0BED-45BA-A311-44D2719BFE09}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.vcproj new file mode 100644 index 0000000..a100668 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/calendar-xerces2-9.0.vcproj @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/calendar/makefile b/dist/examples/cxx/tree/custom/calendar/makefile new file mode 100644 index 0000000..009d647 --- /dev/null +++ b/dist/examples/cxx/tree/custom/calendar/makefile @@ -0,0 +1,42 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --extern-xml-schema xml-schema.xsd + +override LIBS += -lboost_date_time + + +# Build. +# +driver: driver.o calendar.o xml-schema-custom.o + +driver.o: driver.cxx calendar.ixx calendar.hxx xml-schema.hxx xml-schema-custom.hxx +calendar.o: calendar.cxx calendar.ixx calendar.hxx xml-schema.hxx xml-schema-custom.hxx +xml-schema-custom.o: xml-schema.hxx xml-schema-custom.hxx + +calendar.cxx calendar.ixx calendar.hxx: calendar.xsd + +# Generate header for XML Schema namespace. +# +XML_SCHEMA_XSDFLAGS := --generate-xml-schema --custom-type date \ +--hxx-epilogue '\#include "xml-schema-custom.hxx"' + +xml-schema.hxx: + $(XSD) cxx-tree $(XML_SCHEMA_XSDFLAGS) xml-schema.xsd + + +# Test +# +.PHONY: test +test: driver calendar.xml + ./driver calendar.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f xml-schema.hxx xml-schema-custom.o calendar.o calendar.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/comments/comments-7.1.vcproj b/dist/examples/cxx/tree/custom/comments/comments-7.1.vcproj new file mode 100644 index 0000000..6d282c5 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-7.1.vcproj @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/comments-8.0.vcproj b/dist/examples/cxx/tree/custom/comments/comments-8.0.vcproj new file mode 100644 index 0000000..1ddca35 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-8.0.vcproj @@ -0,0 +1,464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/comments-9.0.vcproj b/dist/examples/cxx/tree/custom/comments/comments-9.0.vcproj new file mode 100644 index 0000000..54d1925 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-9.0.vcproj @@ -0,0 +1,461 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/comments-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/comments/comments-xerces2-7.1.vcproj new file mode 100644 index 0000000..390f2d9 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-xerces2-7.1.vcproj @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/comments-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/comments/comments-xerces2-8.0.vcproj new file mode 100644 index 0000000..137eff8 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-xerces2-8.0.vcproj @@ -0,0 +1,464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/comments-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/comments/comments-xerces2-9.0.vcproj new file mode 100644 index 0000000..e1f238f --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/comments-xerces2-9.0.vcproj @@ -0,0 +1,461 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/comments/makefile b/dist/examples/cxx/tree/custom/comments/makefile new file mode 100644 index 0000000..963f262 --- /dev/null +++ b/dist/examples/cxx/tree/custom/comments/makefile @@ -0,0 +1,43 @@ +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 \ +--custom-type anyType=/type_base \ +--hxx-epilogue '\#include "xml-schema-custom.hxx"' + +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 diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-7.1.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-7.1.vcproj new file mode 100644 index 0000000..7b2fc6a --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-7.1.vcproj @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-8.0.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-8.0.vcproj new file mode 100644 index 0000000..e98d06f --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-9.0.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-9.0.vcproj new file mode 100644 index 0000000..0d1c90f --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-7.1.vcproj new file mode 100644 index 0000000..315cdaa --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-7.1.vcproj @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-8.0.vcproj new file mode 100644 index 0000000..08fe9cb --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-9.0.vcproj new file mode 100644 index 0000000..08d30cc --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/contacts-xerces2-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/contacts/makefile b/dist/examples/cxx/tree/custom/contacts/makefile new file mode 100644 index 0000000..8155d0e --- /dev/null +++ b/dist/examples/cxx/tree/custom/contacts/makefile @@ -0,0 +1,33 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --custom-type contact=/contact_base \ +--hxx-epilogue '\#include "contacts-custom.hxx"' + + +# Build. +# +driver: driver.o contacts.o contacts-custom.o + +contacts.o: contacts.cxx contacts.ixx contacts.hxx contacts-custom.hxx +driver.o: driver.cxx contacts.ixx contacts.hxx contacts-custom.hxx +contacts-custom.o: contacts-custom.cxx contacts.ixx contacts.hxx contacts-custom.hxx + +contacts.cxx contacts.hxx contacts.ixx: contacts.xsd + + +# Test +# +.PHONY: test +test: driver contacts.xml + ./driver contacts.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f contacts-custom.o contacts.o contacts.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/custom-7.1.sln b/dist/examples/cxx/tree/custom/custom-7.1.sln new file mode 100644 index 0000000..926c6a7 --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-7.1.sln @@ -0,0 +1,53 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-7.1.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-7.1.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-7.1.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-7.1.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-7.1.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/custom-8.0.sln b/dist/examples/cxx/tree/custom/custom-8.0.sln new file mode 100644 index 0000000..a14b163 --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-8.0.sln @@ -0,0 +1,65 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-8.0.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-8.0.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-8.0.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-8.0.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-8.0.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.ActiveCfg = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.Build.0 = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.Build.0 = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.ActiveCfg = Release|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.Build.0 = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.ActiveCfg = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.Build.0 = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.ActiveCfg = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.Build.0 = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.ActiveCfg = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.Build.0 = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.ActiveCfg = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.Build.0 = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.ActiveCfg = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.Build.0 = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.ActiveCfg = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.Build.0 = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.ActiveCfg = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.Build.0 = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.ActiveCfg = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/custom-9.0.sln b/dist/examples/cxx/tree/custom/custom-9.0.sln new file mode 100644 index 0000000..0b46c92 --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-9.0.sln @@ -0,0 +1,65 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-9.0.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-9.0.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-9.0.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-9.0.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-9.0.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.ActiveCfg = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.Build.0 = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.Build.0 = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.ActiveCfg = Release|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.Build.0 = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.ActiveCfg = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.Build.0 = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.ActiveCfg = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.Build.0 = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.ActiveCfg = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.Build.0 = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.ActiveCfg = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.Build.0 = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.ActiveCfg = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.Build.0 = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.ActiveCfg = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.Build.0 = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.ActiveCfg = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.Build.0 = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.ActiveCfg = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/custom-xerces2-7.1.sln b/dist/examples/cxx/tree/custom/custom-xerces2-7.1.sln new file mode 100644 index 0000000..43394ba --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-xerces2-7.1.sln @@ -0,0 +1,53 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-xerces2-7.1.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-xerces2-7.1.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-7.1.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-xerces2-7.1.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-xerces2-7.1.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/custom-xerces2-8.0.sln b/dist/examples/cxx/tree/custom/custom-xerces2-8.0.sln new file mode 100644 index 0000000..08855e7 --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-xerces2-8.0.sln @@ -0,0 +1,65 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-xerces2-8.0.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-xerces2-8.0.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-8.0.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-xerces2-8.0.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-xerces2-8.0.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.ActiveCfg = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.Build.0 = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.Build.0 = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.ActiveCfg = Release|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.Build.0 = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.ActiveCfg = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.Build.0 = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.ActiveCfg = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.Build.0 = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.ActiveCfg = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.Build.0 = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.ActiveCfg = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.Build.0 = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.ActiveCfg = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.Build.0 = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.ActiveCfg = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.Build.0 = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.ActiveCfg = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.Build.0 = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.ActiveCfg = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/custom-xerces2-9.0.sln b/dist/examples/cxx/tree/custom/custom-xerces2-9.0.sln new file mode 100644 index 0000000..3929a5b --- /dev/null +++ b/dist/examples/cxx/tree/custom/custom-xerces2-9.0.sln @@ -0,0 +1,65 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "contacts", "contacts\contacts-xerces2-9.0.vcproj", "{9FB807C1-53EE-4E71-812F-89E8BE6FCB43}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taxonomy", "taxonomy\taxonomy-xerces2-9.0.vcproj", "{B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-9.0.vcproj", "{6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "comments", "comments\comments-xerces2-9.0.vcproj", "{262E34D2-48D2-4657-9DB2-F01FFDCEA295}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "double", "double\double-xerces2-9.0.vcproj", "{CCE6AE91-39AC-49B6-8763-742B65FCD92E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.ActiveCfg = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|Win32.Build.0 = Debug|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.ActiveCfg = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Debug|x64.Build.0 = Debug|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.ActiveCfg = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|Win32.Build.0 = Release|Win32 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.ActiveCfg = Release|x64 + {9FB807C1-53EE-4E71-812F-89E8BE6FCB43}.Release|x64.Build.0 = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.ActiveCfg = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|Win32.Build.0 = Debug|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.ActiveCfg = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Debug|x64.Build.0 = Debug|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.ActiveCfg = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|Win32.Build.0 = Release|Win32 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.ActiveCfg = Release|x64 + {B3108E70-7B4E-4DDA-8872-0DC4AFDCB2D9}.Release|x64.Build.0 = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.ActiveCfg = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|Win32.Build.0 = Debug|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.ActiveCfg = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Debug|x64.Build.0 = Debug|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.ActiveCfg = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|Win32.Build.0 = Release|Win32 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.ActiveCfg = Release|x64 + {6CE6CDEC-F8DE-42D0-80F8-E71C0DD8F897}.Release|x64.Build.0 = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.ActiveCfg = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|Win32.Build.0 = Debug|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.ActiveCfg = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Debug|x64.Build.0 = Debug|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.ActiveCfg = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|Win32.Build.0 = Release|Win32 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.ActiveCfg = Release|x64 + {262E34D2-48D2-4657-9DB2-F01FFDCEA295}.Release|x64.Build.0 = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.ActiveCfg = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|Win32.Build.0 = Debug|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.ActiveCfg = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Debug|x64.Build.0 = Debug|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.ActiveCfg = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|Win32.Build.0 = Release|Win32 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.ActiveCfg = Release|x64 + {CCE6AE91-39AC-49B6-8763-742B65FCD92E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/custom/double/double-7.1.vcproj b/dist/examples/cxx/tree/custom/double/double-7.1.vcproj new file mode 100644 index 0000000..ccaa903 --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-7.1.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/double-8.0.vcproj b/dist/examples/cxx/tree/custom/double/double-8.0.vcproj new file mode 100644 index 0000000..ea63b9f --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-8.0.vcproj @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/double-9.0.vcproj b/dist/examples/cxx/tree/custom/double/double-9.0.vcproj new file mode 100644 index 0000000..15b599b --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-9.0.vcproj @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/double-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/double/double-xerces2-7.1.vcproj new file mode 100644 index 0000000..d4a28aa --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-xerces2-7.1.vcproj @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/double-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/double/double-xerces2-8.0.vcproj new file mode 100644 index 0000000..8dcfb74 --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-xerces2-8.0.vcproj @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/double-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/double/double-xerces2-9.0.vcproj new file mode 100644 index 0000000..0915560 --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/double-xerces2-9.0.vcproj @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/double/makefile b/dist/examples/cxx/tree/custom/double/makefile new file mode 100644 index 0000000..9480279 --- /dev/null +++ b/dist/examples/cxx/tree/custom/double/makefile @@ -0,0 +1,42 @@ +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 order.o double-custom.o + +driver.o: driver.cxx order.ixx order.hxx xml-schema.hxx double-custom.hxx +order.o: order.cxx order.ixx order.hxx xml-schema.hxx double-custom.hxx +double-custom.o: xml-schema.hxx double-custom.hxx + +order.cxx order.ixx order.hxx: order.xsd + +# Generate header for XML Schema namespace. +# +XML_SCHEMA_XSDFLAGS := --generate-xml-schema --generate-serialization \ +--custom-type double=double \ +--hxx-epilogue '\#include "double-custom.hxx"' + +xml-schema.hxx: + $(XSD) cxx-tree $(XML_SCHEMA_XSDFLAGS) xml-schema.xsd + + +# Test +# +.PHONY: test +test: driver + ./driver + + +# Clean. +# +.PHONY: clean +clean: + rm -f xml-schema.hxx double-custom.o order.o order.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/makefile b/dist/examples/cxx/tree/custom/makefile new file mode 100644 index 0000000..350d0ab --- /dev/null +++ b/dist/examples/cxx/tree/custom/makefile @@ -0,0 +1,15 @@ +dirs := comments contacts double taxonomy wildcard + +ifeq ($(WITH_BOOST),1) +dirs += calendar +endif + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + @$(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/dist/examples/cxx/tree/custom/taxonomy/makefile b/dist/examples/cxx/tree/custom/taxonomy/makefile new file mode 100644 index 0000000..0d4f068 --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/makefile @@ -0,0 +1,38 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-forward \ +--generate-polymorphic \ +--custom-type "person=person_impl/person_base" \ +--custom-type "superman=superman_impl/superman_base" \ +--custom-type "batman=batman_impl/batman_base" \ +--fwd-prologue '\#include "people-custom-fwd.hxx"' \ +--hxx-prologue '\#include "people-custom.hxx"' + + +# Build. +# +driver: driver.o people.o people-custom.o + +people.o: people.cxx people.ixx people.hxx people-custom.hxx people-custom-fwd.hxx +driver.o: driver.cxx people.ixx people.hxx people-custom.hxx people-custom-fwd.hxx +people-custom.o: people-custom.cxx people.ixx people.hxx people-custom.hxx people-custom-fwd.hxx + +people.cxx people.ixx people.hxx people-fwd.hxx: people.xsd + + +# Test +# +.PHONY: test +test: driver people.xml + ./driver people.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f people-custom.o people.o people-fwd.hxx people.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-7.1.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-7.1.vcproj new file mode 100644 index 0000000..befefb7 --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-7.1.vcproj @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-8.0.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-8.0.vcproj new file mode 100644 index 0000000..ab1ccbf --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-8.0.vcproj @@ -0,0 +1,448 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-9.0.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-9.0.vcproj new file mode 100644 index 0000000..ccbc74b --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-9.0.vcproj @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-7.1.vcproj new file mode 100644 index 0000000..8e19b1e --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-7.1.vcproj @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-8.0.vcproj new file mode 100644 index 0000000..c3b9e02 --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-8.0.vcproj @@ -0,0 +1,448 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-9.0.vcproj new file mode 100644 index 0000000..388dcf5 --- /dev/null +++ b/dist/examples/cxx/tree/custom/taxonomy/taxonomy-xerces2-9.0.vcproj @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/makefile b/dist/examples/cxx/tree/custom/wildcard/makefile new file mode 100644 index 0000000..20ea1d2 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/makefile @@ -0,0 +1,34 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-ostream \ +--generate-serialization --custom-type data=/data_base \ +--hxx-epilogue '\#include "wildcard-custom.hxx"' + + +# Build. +# +driver: driver.o wildcard.o wildcard-custom.o + +wildcard.o: wildcard.cxx wildcard.ixx wildcard.hxx wildcard-custom.hxx +driver.o: driver.cxx wildcard.ixx wildcard.hxx wildcard-custom.hxx +wildcard-custom.o: wildcard-custom.cxx wildcard.ixx wildcard.hxx wildcard-custom.hxx + +wildcard.cxx wildcard.hxx wildcard.ixx: wildcard.xsd + + +# Test +# +.PHONY: test +test: driver wildcard.xml + ./driver wildcard.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f wildcard-custom.o wildcard.o wildcard.?xx driver.o driver diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-7.1.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-7.1.vcproj new file mode 100644 index 0000000..0dc9881 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-7.1.vcproj @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-8.0.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-8.0.vcproj new file mode 100644 index 0000000..bfd4bb6 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-9.0.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-9.0.vcproj new file mode 100644 index 0000000..6254390 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-7.1.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-7.1.vcproj new file mode 100644 index 0000000..2433f70 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-7.1.vcproj @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-8.0.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-8.0.vcproj new file mode 100644 index 0000000..7f982c7 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-8.0.vcproj @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-9.0.vcproj b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-9.0.vcproj new file mode 100644 index 0000000..d475ac5 --- /dev/null +++ b/dist/examples/cxx/tree/custom/wildcard/wildcard-xerces2-9.0.vcproj @@ -0,0 +1,437 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/dbxml/dbxml-7.1.sln b/dist/examples/cxx/tree/dbxml/dbxml-7.1.sln new file mode 100644 index 0000000..8af0222 --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dbxml", "dbxml-7.1.vcproj", "{96CDC9C8-FC31-40B8-BDD0-1751712ED704}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug.ActiveCfg = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug.Build.0 = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release.ActiveCfg = Release|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/dbxml/dbxml-7.1.vcproj b/dist/examples/cxx/tree/dbxml/dbxml-7.1.vcproj new file mode 100644 index 0000000..c0acf22 --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/dbxml/dbxml-8.0.sln b/dist/examples/cxx/tree/dbxml/dbxml-8.0.sln new file mode 100644 index 0000000..b217889 --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dbxml", "dbxml-8.0.vcproj", "{96CDC9C8-FC31-40B8-BDD0-1751712ED704}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|Win32.ActiveCfg = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|Win32.Build.0 = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|x64.ActiveCfg = Debug|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|x64.Build.0 = Debug|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|Win32.ActiveCfg = Release|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|Win32.Build.0 = Release|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|x64.ActiveCfg = Release|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/dbxml/dbxml-8.0.vcproj b/dist/examples/cxx/tree/dbxml/dbxml-8.0.vcproj new file mode 100644 index 0000000..68ccebf --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/dbxml/dbxml-9.0.sln b/dist/examples/cxx/tree/dbxml/dbxml-9.0.sln new file mode 100644 index 0000000..89e242e --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dbxml", "dbxml-9.0.vcproj", "{96CDC9C8-FC31-40B8-BDD0-1751712ED704}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|Win32.ActiveCfg = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|Win32.Build.0 = Debug|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|x64.ActiveCfg = Debug|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Debug|x64.Build.0 = Debug|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|Win32.ActiveCfg = Release|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|Win32.Build.0 = Release|Win32 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|x64.ActiveCfg = Release|x64 + {96CDC9C8-FC31-40B8-BDD0-1751712ED704}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/dbxml/dbxml-9.0.vcproj b/dist/examples/cxx/tree/dbxml/dbxml-9.0.vcproj new file mode 100644 index 0000000..7068154 --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/dbxml-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/dbxml/makefile b/dist/examples/cxx/tree/dbxml/makefile new file mode 100644 index 0000000..501bddf --- /dev/null +++ b/dist/examples/cxx/tree/dbxml/makefile @@ -0,0 +1,33 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-ostream --generate-serialization +override CPPFLAGS += -DDBXML_DOM +override LIBS += -ldbxml -lxqilla -ldb_cxx -ldb + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx +driver.o: driver.cxx library.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver + ./driver + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver new.dbxml diff --git a/dist/examples/cxx/tree/hello/hello-7.1.vcproj b/dist/examples/cxx/tree/hello/hello-7.1.vcproj new file mode 100644 index 0000000..719f0d7 --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/hello-8.0.vcproj b/dist/examples/cxx/tree/hello/hello-8.0.vcproj new file mode 100644 index 0000000..299fd53 --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/hello-9.0.vcproj b/dist/examples/cxx/tree/hello/hello-9.0.vcproj new file mode 100644 index 0000000..0d85099 --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/hello-xerces2-7.1.vcproj b/dist/examples/cxx/tree/hello/hello-xerces2-7.1.vcproj new file mode 100644 index 0000000..a2cab95 --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/hello-xerces2-8.0.vcproj b/dist/examples/cxx/tree/hello/hello-xerces2-8.0.vcproj new file mode 100644 index 0000000..1b39f7c --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/hello-xerces2-9.0.vcproj b/dist/examples/cxx/tree/hello/hello-xerces2-9.0.vcproj new file mode 100644 index 0000000..8b8fd22 --- /dev/null +++ b/dist/examples/cxx/tree/hello/hello-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/hello/makefile b/dist/examples/cxx/tree/hello/makefile new file mode 100644 index 0000000..7886049 --- /dev/null +++ b/dist/examples/cxx/tree/hello/makefile @@ -0,0 +1,29 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +# Build. +# +driver: driver.o hello.o + +hello.o: hello.cxx hello.hxx +driver.o: driver.cxx hello.hxx + +hello.cxx hello.hxx: hello.xsd + + +# Test. +# +.PHONY: test +test: driver hello.xml + ./driver hello.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f hello.o hello.?xx driver.o driver + diff --git a/dist/examples/cxx/tree/library/library-7.1.vcproj b/dist/examples/cxx/tree/library/library-7.1.vcproj new file mode 100644 index 0000000..32ea8af --- /dev/null +++ b/dist/examples/cxx/tree/library/library-7.1.vcproj @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/library-8.0.vcproj b/dist/examples/cxx/tree/library/library-8.0.vcproj new file mode 100644 index 0000000..0bc66af --- /dev/null +++ b/dist/examples/cxx/tree/library/library-8.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/library-9.0.vcproj b/dist/examples/cxx/tree/library/library-9.0.vcproj new file mode 100644 index 0000000..84d729b --- /dev/null +++ b/dist/examples/cxx/tree/library/library-9.0.vcproj @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/library-xerces2-7.1.vcproj b/dist/examples/cxx/tree/library/library-xerces2-7.1.vcproj new file mode 100644 index 0000000..8cf6570 --- /dev/null +++ b/dist/examples/cxx/tree/library/library-xerces2-7.1.vcproj @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/library-xerces2-8.0.vcproj b/dist/examples/cxx/tree/library/library-xerces2-8.0.vcproj new file mode 100644 index 0000000..fc3b99e --- /dev/null +++ b/dist/examples/cxx/tree/library/library-xerces2-8.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/library-xerces2-9.0.vcproj b/dist/examples/cxx/tree/library/library-xerces2-9.0.vcproj new file mode 100644 index 0000000..ce9426a --- /dev/null +++ b/dist/examples/cxx/tree/library/library-xerces2-9.0.vcproj @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/library/makefile b/dist/examples/cxx/tree/library/makefile new file mode 100644 index 0000000..2f9bb6a --- /dev/null +++ b/dist/examples/cxx/tree/library/makefile @@ -0,0 +1,32 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-ostream --generate-serialization + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx library.ixx +driver.o: driver.cxx library.hxx library.ixx + +library.cxx library.hxx library.ixx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver + diff --git a/dist/examples/cxx/tree/makefile b/dist/examples/cxx/tree/makefile new file mode 100644 index 0000000..bf2b98d --- /dev/null +++ b/dist/examples/cxx/tree/makefile @@ -0,0 +1,20 @@ +dirs := binary caching custom hello library messaging mixed multiroot \ +performance polymorphism streaming wildcard + +ifeq ($(WITH_DBXML),1) +dirs += dbxml +endif + +ifeq ($(WITH_XQILLA),1) +dirs += xpath +endif + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + @$(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/dist/examples/cxx/tree/messaging/makefile b/dist/examples/cxx/tree/messaging/makefile new file mode 100644 index 0000000..0557a7c --- /dev/null +++ b/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/dist/examples/cxx/tree/messaging/messaging-7.1.vcproj b/dist/examples/cxx/tree/messaging/messaging-7.1.vcproj new file mode 100644 index 0000000..1f56759 --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-7.1.vcproj @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/messaging/messaging-8.0.vcproj b/dist/examples/cxx/tree/messaging/messaging-8.0.vcproj new file mode 100644 index 0000000..7f8b0e4 --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-8.0.vcproj @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/messaging/messaging-9.0.vcproj b/dist/examples/cxx/tree/messaging/messaging-9.0.vcproj new file mode 100644 index 0000000..0e2819d --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-9.0.vcproj @@ -0,0 +1,436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/messaging/messaging-xerces2-7.1.vcproj b/dist/examples/cxx/tree/messaging/messaging-xerces2-7.1.vcproj new file mode 100644 index 0000000..c08339a --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-xerces2-7.1.vcproj @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/messaging/messaging-xerces2-8.0.vcproj b/dist/examples/cxx/tree/messaging/messaging-xerces2-8.0.vcproj new file mode 100644 index 0000000..6406bb4 --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-xerces2-8.0.vcproj @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/messaging/messaging-xerces2-9.0.vcproj b/dist/examples/cxx/tree/messaging/messaging-xerces2-9.0.vcproj new file mode 100644 index 0000000..bcc81da --- /dev/null +++ b/dist/examples/cxx/tree/messaging/messaging-xerces2-9.0.vcproj @@ -0,0 +1,436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/makefile b/dist/examples/cxx/tree/mixed/makefile new file mode 100644 index 0000000..594821c --- /dev/null +++ b/dist/examples/cxx/tree/mixed/makefile @@ -0,0 +1,28 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +# Build. +# +driver: driver.o text.o + +text.o: text.cxx text.hxx +driver.o: driver.cxx text.hxx + +text.cxx text.hxx: text.xsd + + +# Test. +# +.PHONY: test +test: driver text.xml + ./driver text.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f text.o text.?xx driver.o driver diff --git a/dist/examples/cxx/tree/mixed/mixed-7.1.vcproj b/dist/examples/cxx/tree/mixed/mixed-7.1.vcproj new file mode 100644 index 0000000..cfa1939 --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/mixed-8.0.vcproj b/dist/examples/cxx/tree/mixed/mixed-8.0.vcproj new file mode 100644 index 0000000..f376bbf --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/mixed-9.0.vcproj b/dist/examples/cxx/tree/mixed/mixed-9.0.vcproj new file mode 100644 index 0000000..7e144e7 --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/mixed-xerces2-7.1.vcproj b/dist/examples/cxx/tree/mixed/mixed-xerces2-7.1.vcproj new file mode 100644 index 0000000..510a1d5 --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/mixed-xerces2-8.0.vcproj b/dist/examples/cxx/tree/mixed/mixed-xerces2-8.0.vcproj new file mode 100644 index 0000000..5dfbf16 --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/mixed/mixed-xerces2-9.0.vcproj b/dist/examples/cxx/tree/mixed/mixed-xerces2-9.0.vcproj new file mode 100644 index 0000000..4e6ff97 --- /dev/null +++ b/dist/examples/cxx/tree/mixed/mixed-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/makefile b/dist/examples/cxx/tree/multiroot/makefile new file mode 100644 index 0000000..d94da7f --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/makefile @@ -0,0 +1,33 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + +override XSDFLAGS += --root-element-all + + +# Build. +# +driver: driver.o dom-parse.o protocol.o + +protocol.o: protocol.cxx protocol.hxx +dom-parse.o: dom-parse.cxx dom-parse.hxx +driver.o: driver.cxx dom-parse.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 driver.o driver diff --git a/dist/examples/cxx/tree/multiroot/multiroot-7.1.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-7.1.vcproj new file mode 100644 index 0000000..675fe8b --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/multiroot-8.0.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-8.0.vcproj new file mode 100644 index 0000000..915953a --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/multiroot-9.0.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-9.0.vcproj new file mode 100644 index 0000000..a6458ba --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/multiroot-xerces2-7.1.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-7.1.vcproj new file mode 100644 index 0000000..8d42356 --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/multiroot-xerces2-8.0.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-8.0.vcproj new file mode 100644 index 0000000..489e8ff --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/multiroot/multiroot-xerces2-9.0.vcproj b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-9.0.vcproj new file mode 100644 index 0000000..c39bd06 --- /dev/null +++ b/dist/examples/cxx/tree/multiroot/multiroot-xerces2-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/makefile b/dist/examples/cxx/tree/performance/makefile new file mode 100644 index 0000000..80bf4be --- /dev/null +++ b/dist/examples/cxx/tree/performance/makefile @@ -0,0 +1,34 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-serialization + + +# Build. +# +driver: driver.o parsing.o serialization.o test.o time.o + +driver.o: driver.cxx +test.o: test.cxx test.hxx test.ixx +parsing.o: parsing.cxx test.hxx test.ixx time.hxx +serialization.o: serialization.cxx test.hxx test.ixx time.hxx +time.o: time.cxx time.hxx + +test.cxx test.hxx test.ixx: test.xsd + + +# Test +# +.PHONY: test +test: driver test-50k.xml + ./driver test-50k.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f test.o test.?xx driver.o parsing.o serialization.o time.o driver diff --git a/dist/examples/cxx/tree/performance/performance-7.1.vcproj b/dist/examples/cxx/tree/performance/performance-7.1.vcproj new file mode 100644 index 0000000..f5eace8 --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-7.1.vcproj @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/performance-8.0.vcproj b/dist/examples/cxx/tree/performance/performance-8.0.vcproj new file mode 100644 index 0000000..88d0e7c --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-8.0.vcproj @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/performance-9.0.vcproj b/dist/examples/cxx/tree/performance/performance-9.0.vcproj new file mode 100644 index 0000000..907e153 --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-9.0.vcproj @@ -0,0 +1,442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/performance-xerces2-7.1.vcproj b/dist/examples/cxx/tree/performance/performance-xerces2-7.1.vcproj new file mode 100644 index 0000000..9fb5f98 --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-xerces2-7.1.vcproj @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/performance-xerces2-8.0.vcproj b/dist/examples/cxx/tree/performance/performance-xerces2-8.0.vcproj new file mode 100644 index 0000000..0feba16 --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-xerces2-8.0.vcproj @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/performance/performance-xerces2-9.0.vcproj b/dist/examples/cxx/tree/performance/performance-xerces2-9.0.vcproj new file mode 100644 index 0000000..561e294 --- /dev/null +++ b/dist/examples/cxx/tree/performance/performance-xerces2-9.0.vcproj @@ -0,0 +1,442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/makefile b/dist/examples/cxx/tree/polymorphism/makefile new file mode 100644 index 0000000..282266e --- /dev/null +++ b/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/dist/examples/cxx/tree/polymorphism/polymorphism-7.1.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-7.1.vcproj new file mode 100644 index 0000000..c47b133 --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/polymorphism-8.0.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-8.0.vcproj new file mode 100644 index 0000000..6e5478c --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/polymorphism-9.0.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-9.0.vcproj new file mode 100644 index 0000000..dd033ab --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-7.1.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-7.1.vcproj new file mode 100644 index 0000000..47a0568 --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-8.0.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-8.0.vcproj new file mode 100644 index 0000000..539f395 --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-9.0.vcproj b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-9.0.vcproj new file mode 100644 index 0000000..cc48260 --- /dev/null +++ b/dist/examples/cxx/tree/polymorphism/polymorphism-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/makefile b/dist/examples/cxx/tree/streaming/makefile new file mode 100644 index 0000000..40d2dd6 --- /dev/null +++ b/dist/examples/cxx/tree/streaming/makefile @@ -0,0 +1,31 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-serialization --suppress-parsing --root-element-all + + +# Build. +# +driver: driver.o records.o + +records.o: records.cxx records.hxx +driver.o: driver.cxx records.hxx + +records.cxx records.hxx: records.xsd + + +# Test +# +.PHONY: test +test: driver + ./driver + + +# Clean. +# +.PHONY: clean +clean: + rm -f records.o records.?xx driver.o driver out.xml diff --git a/dist/examples/cxx/tree/streaming/streaming-7.1.vcproj b/dist/examples/cxx/tree/streaming/streaming-7.1.vcproj new file mode 100644 index 0000000..aeaf847 --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/streaming-8.0.vcproj b/dist/examples/cxx/tree/streaming/streaming-8.0.vcproj new file mode 100644 index 0000000..05e19b9 --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/streaming-9.0.vcproj b/dist/examples/cxx/tree/streaming/streaming-9.0.vcproj new file mode 100644 index 0000000..c5560dc --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/streaming-xerces2-7.1.vcproj b/dist/examples/cxx/tree/streaming/streaming-xerces2-7.1.vcproj new file mode 100644 index 0000000..9785c61 --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/streaming-xerces2-8.0.vcproj b/dist/examples/cxx/tree/streaming/streaming-xerces2-8.0.vcproj new file mode 100644 index 0000000..2008048 --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/streaming/streaming-xerces2-9.0.vcproj b/dist/examples/cxx/tree/streaming/streaming-xerces2-9.0.vcproj new file mode 100644 index 0000000..f94a34b --- /dev/null +++ b/dist/examples/cxx/tree/streaming/streaming-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/tree-7.1.sln b/dist/examples/cxx/tree/tree-7.1.sln new file mode 100644 index 0000000..fc5147b --- /dev/null +++ b/dist/examples/cxx/tree/tree-7.1.sln @@ -0,0 +1,93 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-7.1.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-7.1.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-7.1.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-7.1.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-7.1.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-7.1.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-7.1.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-7.1.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-7.1.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-7.1.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/tree-8.0.sln b/dist/examples/cxx/tree/tree-8.0.sln new file mode 100644 index 0000000..f504aa6 --- /dev/null +++ b/dist/examples/cxx/tree/tree-8.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-8.0.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-8.0.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-8.0.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-8.0.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-8.0.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-8.0.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-8.0.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-8.0.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-8.0.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-8.0.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.ActiveCfg = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.Build.0 = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.Build.0 = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.ActiveCfg = Release|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.Build.0 = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.ActiveCfg = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.Build.0 = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.ActiveCfg = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.Build.0 = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.ActiveCfg = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.Build.0 = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.ActiveCfg = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.Build.0 = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.ActiveCfg = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.Build.0 = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.ActiveCfg = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.Build.0 = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.ActiveCfg = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.Build.0 = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.ActiveCfg = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.Build.0 = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.ActiveCfg = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.Build.0 = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.ActiveCfg = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.Build.0 = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.ActiveCfg = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.Build.0 = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.ActiveCfg = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.Build.0 = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.ActiveCfg = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.Build.0 = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.ActiveCfg = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.Build.0 = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.ActiveCfg = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.Build.0 = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.ActiveCfg = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.Build.0 = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.ActiveCfg = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.Build.0 = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.ActiveCfg = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/tree-9.0.sln b/dist/examples/cxx/tree/tree-9.0.sln new file mode 100644 index 0000000..6bc073e --- /dev/null +++ b/dist/examples/cxx/tree/tree-9.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-9.0.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-9.0.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-9.0.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-9.0.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-9.0.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-9.0.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-9.0.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-9.0.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-9.0.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-9.0.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.ActiveCfg = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.Build.0 = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.Build.0 = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.ActiveCfg = Release|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.Build.0 = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.ActiveCfg = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.Build.0 = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.ActiveCfg = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.Build.0 = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.ActiveCfg = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.Build.0 = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.ActiveCfg = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.Build.0 = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.ActiveCfg = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.Build.0 = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.ActiveCfg = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.Build.0 = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.ActiveCfg = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.Build.0 = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.ActiveCfg = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.Build.0 = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.ActiveCfg = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.Build.0 = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.ActiveCfg = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.Build.0 = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.ActiveCfg = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.Build.0 = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.ActiveCfg = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.Build.0 = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.ActiveCfg = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.Build.0 = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.ActiveCfg = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.Build.0 = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.ActiveCfg = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.Build.0 = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.ActiveCfg = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.Build.0 = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.ActiveCfg = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.Build.0 = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.ActiveCfg = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/tree-xerces2-7.1.sln b/dist/examples/cxx/tree/tree-xerces2-7.1.sln new file mode 100644 index 0000000..f19b237 --- /dev/null +++ b/dist/examples/cxx/tree/tree-xerces2-7.1.sln @@ -0,0 +1,93 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-7.1.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-7.1.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-7.1.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-7.1.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-xerces2-7.1.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-7.1.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-xerces2-7.1.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-7.1.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-7.1.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-xerces2-7.1.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/tree-xerces2-8.0.sln b/dist/examples/cxx/tree/tree-xerces2-8.0.sln new file mode 100644 index 0000000..d3fd49b --- /dev/null +++ b/dist/examples/cxx/tree/tree-xerces2-8.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-8.0.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-8.0.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-8.0.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-8.0.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-xerces2-8.0.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-8.0.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-xerces2-8.0.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-8.0.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-8.0.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-xerces2-8.0.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.ActiveCfg = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.Build.0 = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.Build.0 = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.ActiveCfg = Release|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.Build.0 = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.ActiveCfg = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.Build.0 = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.ActiveCfg = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.Build.0 = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.ActiveCfg = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.Build.0 = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.ActiveCfg = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.Build.0 = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.ActiveCfg = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.Build.0 = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.ActiveCfg = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.Build.0 = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.ActiveCfg = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.Build.0 = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.ActiveCfg = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.Build.0 = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.ActiveCfg = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.Build.0 = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.ActiveCfg = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.Build.0 = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.ActiveCfg = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.Build.0 = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.ActiveCfg = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.Build.0 = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.ActiveCfg = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.Build.0 = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.ActiveCfg = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.Build.0 = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.ActiveCfg = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.Build.0 = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.ActiveCfg = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.Build.0 = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.ActiveCfg = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.Build.0 = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.ActiveCfg = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/tree-xerces2-9.0.sln b/dist/examples/cxx/tree/tree-xerces2-9.0.sln new file mode 100644 index 0000000..ed9bace --- /dev/null +++ b/dist/examples/cxx/tree/tree-xerces2-9.0.sln @@ -0,0 +1,115 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello\hello-xerces2-9.0.vcproj", "{538CCAB6-984B-4602-B0D0-985E8FD4FEB9}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library", "library\library-xerces2-9.0.vcproj", "{D661AD5B-5FF4-4AFD-A656-429BA348E9EF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mixed", "mixed\mixed-xerces2-9.0.vcproj", "{6EF7868E-AA58-4615-9C1A-06B010CB4209}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polymorphism", "polymorphism\polymorphism-xerces2-9.0.vcproj", "{03224289-FD3C-4A58-A6D7-E8D658B0E45A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streaming", "streaming\streaming-xerces2-9.0.vcproj", "{3950B11C-AEB1-4E9C-BCB3-2E7133818C79}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wildcard", "wildcard\wildcard-xerces2-9.0.vcproj", "{13C21A83-CC75-459E-9B01-E9EC36D1524B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "caching", "caching\caching-xerces2-9.0.vcproj", "{932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "multiroot", "multiroot\multiroot-xerces2-9.0.vcproj", "{1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "performance\performance-xerces2-9.0.vcproj", "{C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "messaging", "messaging\messaging-xerces2-9.0.vcproj", "{F7696252-45B5-438B-B14F-0510137704F0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.ActiveCfg = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|Win32.Build.0 = Debug|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.ActiveCfg = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Debug|x64.Build.0 = Debug|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.ActiveCfg = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|Win32.Build.0 = Release|Win32 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.ActiveCfg = Release|x64 + {538CCAB6-984B-4602-B0D0-985E8FD4FEB9}.Release|x64.Build.0 = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.ActiveCfg = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|Win32.Build.0 = Debug|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.ActiveCfg = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Debug|x64.Build.0 = Debug|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.ActiveCfg = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|Win32.Build.0 = Release|Win32 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.ActiveCfg = Release|x64 + {D661AD5B-5FF4-4AFD-A656-429BA348E9EF}.Release|x64.Build.0 = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.ActiveCfg = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|Win32.Build.0 = Debug|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.ActiveCfg = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Debug|x64.Build.0 = Debug|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.ActiveCfg = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|Win32.Build.0 = Release|Win32 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.ActiveCfg = Release|x64 + {6EF7868E-AA58-4615-9C1A-06B010CB4209}.Release|x64.Build.0 = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.ActiveCfg = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|Win32.Build.0 = Debug|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.ActiveCfg = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Debug|x64.Build.0 = Debug|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.ActiveCfg = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|Win32.Build.0 = Release|Win32 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.ActiveCfg = Release|x64 + {03224289-FD3C-4A58-A6D7-E8D658B0E45A}.Release|x64.Build.0 = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.ActiveCfg = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|Win32.Build.0 = Debug|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.ActiveCfg = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Debug|x64.Build.0 = Debug|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.ActiveCfg = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|Win32.Build.0 = Release|Win32 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.ActiveCfg = Release|x64 + {3950B11C-AEB1-4E9C-BCB3-2E7133818C79}.Release|x64.Build.0 = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.ActiveCfg = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|Win32.Build.0 = Debug|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.ActiveCfg = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Debug|x64.Build.0 = Debug|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.ActiveCfg = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|Win32.Build.0 = Release|Win32 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.ActiveCfg = Release|x64 + {13C21A83-CC75-459E-9B01-E9EC36D1524B}.Release|x64.Build.0 = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.ActiveCfg = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|Win32.Build.0 = Debug|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.ActiveCfg = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Debug|x64.Build.0 = Debug|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.ActiveCfg = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|Win32.Build.0 = Release|Win32 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.ActiveCfg = Release|x64 + {932D8CD0-4E11-4C3A-9084-4D30DE75C2B7}.Release|x64.Build.0 = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.ActiveCfg = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|Win32.Build.0 = Debug|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.ActiveCfg = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Debug|x64.Build.0 = Debug|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.ActiveCfg = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|Win32.Build.0 = Release|Win32 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.ActiveCfg = Release|x64 + {1CFBC9C5-5F9C-4B60-A2A3-0A79BCDD2670}.Release|x64.Build.0 = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.ActiveCfg = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|Win32.Build.0 = Debug|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.ActiveCfg = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Debug|x64.Build.0 = Debug|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.ActiveCfg = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|Win32.Build.0 = Release|Win32 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.ActiveCfg = Release|x64 + {C60700D1-DB4B-4EFF-8EE9-97BD716BCB89}.Release|x64.Build.0 = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.ActiveCfg = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|Win32.Build.0 = Debug|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.ActiveCfg = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Debug|x64.Build.0 = Debug|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.ActiveCfg = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|Win32.Build.0 = Release|Win32 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.ActiveCfg = Release|x64 + {F7696252-45B5-438B-B14F-0510137704F0}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/wildcard/makefile b/dist/examples/cxx/tree/wildcard/makefile new file mode 100644 index 0000000..148b800 --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/makefile @@ -0,0 +1,32 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-inline --generate-serialization \ +--generate-wildcard --root-element message + + +# Build. +# +driver: driver.o email.o + +email.o: email.cxx email.hxx email.ixx +driver.o: driver.cxx email.hxx email.ixx + +email.cxx email.hxx email.ixx: email.xsd + + +# Test +# +.PHONY: test +test: driver email.xml + ./driver email.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f email.o email.?xx driver.o driver diff --git a/dist/examples/cxx/tree/wildcard/wildcard-7.1.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-7.1.vcproj new file mode 100644 index 0000000..431b94e --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-7.1.vcproj @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/wildcard/wildcard-8.0.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-8.0.vcproj new file mode 100644 index 0000000..4f61b88 --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-8.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/wildcard/wildcard-9.0.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-9.0.vcproj new file mode 100644 index 0000000..0cbc382 --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-9.0.vcproj @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/wildcard/wildcard-xerces2-7.1.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-7.1.vcproj new file mode 100644 index 0000000..f26ea1b --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-7.1.vcproj @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/wildcard/wildcard-xerces2-8.0.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-8.0.vcproj new file mode 100644 index 0000000..d6f5487 --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-8.0.vcproj @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/wildcard/wildcard-xerces2-9.0.vcproj b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-9.0.vcproj new file mode 100644 index 0000000..312731a --- /dev/null +++ b/dist/examples/cxx/tree/wildcard/wildcard-xerces2-9.0.vcproj @@ -0,0 +1,429 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/makefile b/dist/examples/cxx/tree/xpath/makefile new file mode 100644 index 0000000..d5f2833 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/makefile @@ -0,0 +1,30 @@ +root := ../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + +override LIBS += -lxqilla + +# Build. +# +driver: driver.o people.o dom-parse.o + +people.o: people.cxx people.hxx +driver.o: driver.cxx people.hxx dom-parse.hxx +people.o: dom-parse.cxx dom-parse.hxx + +people.cxx people.hxx: people.xsd + + +# Test +# +.PHONY: test +test: driver people.xml + ./driver people.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f people.o people.?xx driver.o dom-parse.o driver diff --git a/dist/examples/cxx/tree/xpath/xpath-7.1.sln b/dist/examples/cxx/tree/xpath/xpath-7.1.sln new file mode 100644 index 0000000..905aaf9 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-7.1.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-7.1.vcproj b/dist/examples/cxx/tree/xpath/xpath-7.1.vcproj new file mode 100644 index 0000000..bd070b6 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/xpath-8.0.sln b/dist/examples/cxx/tree/xpath/xpath-8.0.sln new file mode 100644 index 0000000..db1eeea --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-8.0.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.ActiveCfg = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.Build.0 = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.Build.0 = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.ActiveCfg = Release|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-8.0.vcproj b/dist/examples/cxx/tree/xpath/xpath-8.0.vcproj new file mode 100644 index 0000000..29377fb --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/xpath-9.0.sln b/dist/examples/cxx/tree/xpath/xpath-9.0.sln new file mode 100644 index 0000000..c568474 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-9.0.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.ActiveCfg = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.Build.0 = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.Build.0 = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.ActiveCfg = Release|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-9.0.vcproj b/dist/examples/cxx/tree/xpath/xpath-9.0.vcproj new file mode 100644 index 0000000..89d3d0f --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.sln b/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.sln new file mode 100644 index 0000000..7b6985c --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-xerces2-7.1.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.vcproj b/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.vcproj new file mode 100644 index 0000000..9aebc49 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-7.1.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.sln b/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.sln new file mode 100644 index 0000000..f759a95 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-xerces2-8.0.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.ActiveCfg = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.Build.0 = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.Build.0 = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.ActiveCfg = Release|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.vcproj b/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.vcproj new file mode 100644 index 0000000..d79f2aa --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-8.0.vcproj @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.sln b/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.sln new file mode 100644 index 0000000..97e2209 --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xpath", "xpath-xerces2-9.0.vcproj", "{EC26ACF9-0103-48D2-B7BA-0222C2175B28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.ActiveCfg = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|Win32.Build.0 = Debug|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.ActiveCfg = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Debug|x64.Build.0 = Debug|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.ActiveCfg = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|Win32.Build.0 = Release|Win32 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.ActiveCfg = Release|x64 + {EC26ACF9-0103-48D2-B7BA-0222C2175B28}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.vcproj b/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.vcproj new file mode 100644 index 0000000..8f3938e --- /dev/null +++ b/dist/examples/cxx/tree/xpath/xpath-xerces2-9.0.vcproj @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/makefile b/dist/examples/makefile new file mode 100644 index 0000000..5b8947e --- /dev/null +++ b/dist/examples/makefile @@ -0,0 +1,11 @@ +dirs := cxx + +.PHONY: all $(dirs) + +all: $(dirs) + +$(dirs): + $(MAKE) -C $@ $(MAKECMDGOALS) + +makefile: ; +% :: $(dirs) ; diff --git a/documentation/cxx/makefile b/documentation/cxx/makefile index 551aef4..244b9b4 100644 --- a/documentation/cxx/makefile +++ b/documentation/cxx/makefile @@ -5,7 +5,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make -docs := parser/guide tree/guide tree/manual +docs := parser tree default := $(out_base)/ dist := $(out_base)/.dist diff --git a/documentation/cxx/parser/guide/makefile b/documentation/cxx/parser/guide/makefile index 1d85874..f1c96a6 100644 --- a/documentation/cxx/parser/guide/makefile +++ b/documentation/cxx/parser/guide/makefile @@ -10,13 +10,10 @@ dist := $(out_base)/.dist dist-win := $(out_base)/.dist-win cleandoc := $(out_base)/.cleandoc -.PHONY: $(default) $(dist) $(dist-win) $(cleandoc) - # Build. # $(default): $(out_base)/cxx-parser-guide.ps $(out_base)/cxx-parser-guide.pdf - $(out_base)/cxx-parser-guide.ps: $(src_base)/index.xhtml \ $(src_base)/figure-1.png \ $(src_base)/guide.html2ps \ diff --git a/documentation/cxx/parser/makefile b/documentation/cxx/parser/makefile new file mode 100644 index 0000000..69a9557 --- /dev/null +++ b/documentation/cxx/parser/makefile @@ -0,0 +1,20 @@ +# file : documentation/cxx/parser/makefile +# author : Boris Kolpackov +# copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make + +docs := guide + +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +cleandoc := $(out_base)/.cleandoc + +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(docs))) +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(docs))) +$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(docs))) +$(cleandoc): $(addprefix $(out_base)/,$(addsuffix /.cleandoc,$(docs))) + +$(foreach m,$(docs),$(call import,$(src_base)/$m/makefile)) diff --git a/documentation/cxx/tree/guide/makefile b/documentation/cxx/tree/guide/makefile index 7c52f36..02a6e08 100644 --- a/documentation/cxx/tree/guide/makefile +++ b/documentation/cxx/tree/guide/makefile @@ -10,8 +10,6 @@ dist := $(out_base)/.dist dist-win := $(out_base)/.dist-win cleandoc := $(out_base)/.cleandoc -.PHONY: $(default) $(dist) $(dist-win) $(cleandoc) - # Build. # $(default): $(out_base)/cxx-tree-guide.ps $(out_base)/cxx-tree-guide.pdf diff --git a/documentation/cxx/tree/makefile b/documentation/cxx/tree/makefile new file mode 100644 index 0000000..7063da8 --- /dev/null +++ b/documentation/cxx/tree/makefile @@ -0,0 +1,35 @@ +# file : documentation/cxx/tree/makefile +# author : Boris Kolpackov +# copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make + +docs := guide manual + +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +cleandoc := $(out_base)/.cleandoc + +# Build. +# +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(docs))) + +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist-common): path := $(subst $(src_root)/,,$(src_base)) +$(dist-common): + $(call install-dir,$(src_base)/dbxml,$(dist_prefix)/$(path)/dbxml) + $(call install-dir,$(src_base)/reference,$(dist_prefix)/$(path)/reference) + +$(dist): $(dist-common) $(addprefix $(out_base)/,$(addsuffix /.dist,$(docs))) +$(dist-win): $(dist-common) $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(docs))) + +# Clean. +# +$(cleandoc): $(addprefix $(out_base)/,$(addsuffix /.cleandoc,$(docs))) + +$(foreach m,$(docs),$(call import,$(src_base)/$m/makefile)) diff --git a/documentation/cxx/tree/manual/makefile b/documentation/cxx/tree/manual/makefile index 1586cfb..0101e69 100644 --- a/documentation/cxx/tree/manual/makefile +++ b/documentation/cxx/tree/manual/makefile @@ -10,8 +10,6 @@ dist := $(out_base)/.dist dist-win := $(out_base)/.dist-win cleandoc := $(out_base)/.cleandoc -.PHONY: $(default) $(dist) $(dist-win) $(cleandoc) - # Build. # $(default): $(out_base)/cxx-tree-manual.ps $(out_base)/cxx-tree-manual.pdf diff --git a/documentation/makefile b/documentation/makefile index 7d581ac..766587a 100644 --- a/documentation/makefile +++ b/documentation/makefile @@ -7,6 +7,8 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make default := $(out_base)/ install := $(out_base)/.install +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win cleandoc := $(out_base)/.cleandoc $(default): $(out_base)/cxx/ @@ -21,6 +23,20 @@ $(install): $(call install-data,$(src_base)/xsd.xhtml,$(install_doc_dir)/xsd/xsd.xhtml) $(call install-data,$(src_base)/xsd.1,$(install_man_dir)/man1/xsd.1) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist-common): + $(call install-data,$(src_base)/default.css,$(dist_prefix)/documentation/default.css) + $(call install-data,$(src_base)/xsd.xhtml,$(dist_prefix)/documentation/xsd.xhtml) + $(call install-data,$(src_base)/xsd.1,$(dist_prefix)/documentation/xsd.1) + $(call install-data,$(src_base)/future.xhtml,$(dist_prefix)/documentation/future.xhtml) + $(call install-data,$(src_base)/schema-authoring-guide.xhtml,$(dist_prefix)/documentation/schema-authoring-guide.xhtml) + +$(dist): $(dist-common) $(out_base)/cxx/.dist +$(dist-win): $(dist-common) $(out_base)/cxx/.dist + # Clean. # $(cleandoc): $(src_base)/cxx/.cleandoc diff --git a/examples/cxx/parser/generated/makefile b/examples/cxx/parser/generated/makefile index 031e59e..2c8d571 100644 --- a/examples/cxx/parser/generated/makefile +++ b/examples/cxx/parser/generated/makefile @@ -10,8 +10,11 @@ xsd := library.xsd obj := $(addprefix $(out_base)/,$(xsd:.xsd=-pskel.o) $(xsd:.xsd=-pimpl.o) $(xsd:.xsd=-driver.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/$(xsd:.xsd=-driver) -clean := $(out_base)/.clean + +driver := $(out_base)/$(xsd:.xsd=-driver) +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. # @@ -48,6 +51,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -76,6 +96,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) xsd_parser_impl_suffix := -pimpl $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/hello/makefile b/examples/cxx/parser/hello/makefile index 48f39d2..2ead3fa 100644 --- a/examples/cxx/parser/hello/makefile +++ b/examples/cxx/parser/hello/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -42,6 +44,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/hello.xsd,$(dist_prefix)/$(path)/hello.xsd) + $(call install-data,$(src_base)/hello.xml,$(dist_prefix)/$(path)/hello.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -69,6 +88,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/library/makefile b/examples/cxx/parser/library/makefile index 0d88942..bc4ab73 100644 --- a/examples/cxx/parser/library/makefile +++ b/examples/cxx/parser/library/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx library-pimpl.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,27 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + $(call install-data,$(src_base)/library.map,$(dist_prefix)/$(path)/library.map) + $(call install-data,$(src_base)/library.hxx,$(dist_prefix)/$(path)/library.hxx) + $(call install-data,$(src_base)/library-pimpl.hxx,$(dist_prefix)/$(path)/library-pimpl.hxx) + $(call install-data,$(src_base)/library-pimpl.cxx,$(dist_prefix)/$(path)/library-pimpl.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -70,6 +93,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/makefile b/examples/cxx/parser/makefile index 25d9c54..9f3e27d 100644 --- a/examples/cxx/parser/makefile +++ b/examples/cxx/parser/makefile @@ -8,12 +8,28 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make examples := generated hello library mixin mixed multiroot performance \ polymorphism polyroot wildcard -default := $(out_base)/ -clean := $(out_base)/.clean - -.PHONY: $(default) $(clean) +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean +# Build +# $(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) + +# Dist +# +$(dist) $(dist-win): path := $(subst $(src_root)/,,$(src_base)) + +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + +# Clean +# $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) $(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) diff --git a/examples/cxx/parser/mixed/makefile b/examples/cxx/parser/mixed/makefile index 5da80ee..4d1fb0c 100644 --- a/examples/cxx/parser/mixed/makefile +++ b/examples/cxx/parser/mixed/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,26 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/text.xsd,$(dist_prefix)/$(path)/text.xsd) + $(call install-data,$(src_base)/text.xml,$(dist_prefix)/$(path)/text.xml) + $(call install-data,$(src_base)/text.map,$(dist_prefix)/$(path)/text.map) + $(call install-data,$(src_base)/anchor.hxx,$(dist_prefix)/$(path)/anchor.hxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +92,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/mixin/makefile b/examples/cxx/parser/mixin/makefile index 104db00..bb3927c 100644 --- a/examples/cxx/parser/mixin/makefile +++ b/examples/cxx/parser/mixin/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,26 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/schema.xsd,$(dist_prefix)/$(path)/schema.xsd) + $(call install-data,$(src_base)/instance.xml,$(dist_prefix)/$(path)/instance.xml) + $(call install-data,$(src_base)/schema.map,$(dist_prefix)/$(path)/schema.map) + $(call install-data,$(src_base)/types.hxx,$(dist_prefix)/$(path)/types.hxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +92,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/multiroot/makefile b/examples/cxx/parser/multiroot/makefile index 988ecbf..02b9f57 100644 --- a/examples/cxx/parser/multiroot/makefile +++ b/examples/cxx/parser/multiroot/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx protocol-pimpl.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,29 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/protocol.xsd,$(dist_prefix)/$(path)/protocol.xsd) + $(call install-data,$(src_base)/balance.xml,$(dist_prefix)/$(path)/balance.xml) + $(call install-data,$(src_base)/deposit.xml,$(dist_prefix)/$(path)/deposit.xml) + $(call install-data,$(src_base)/withdraw.xml,$(dist_prefix)/$(path)/withdraw.xml) + $(call install-data,$(src_base)/protocol.map,$(dist_prefix)/$(path)/protocol.map) + $(call install-data,$(src_base)/protocol.hxx,$(dist_prefix)/$(path)/protocol.hxx) + $(call install-data,$(src_base)/protocol-pimpl.hxx,$(dist_prefix)/$(path)/protocol-pimpl.hxx) + $(call install-data,$(src_base)/protocol-pimpl.cxx,$(dist_prefix)/$(path)/protocol-pimpl.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -70,9 +95,9 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) - # Dependencies. # $(call import,$(src_root)/xsd/makefile) diff --git a/examples/cxx/parser/performance/makefile b/examples/cxx/parser/performance/makefile index 80e0e60..15938c9 100644 --- a/examples/cxx/parser/performance/makefile +++ b/examples/cxx/parser/performance/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx time.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,29 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/test.xsd,$(dist_prefix)/$(path)/test.xsd) + $(call install-data,$(src_base)/test-5k.xml,$(dist_prefix)/$(path)/test-5k.xml) + $(call install-data,$(src_base)/test-50k.xml,$(dist_prefix)/$(path)/test-50k.xml) + $(call install-data,$(src_base)/test-500k.xml,$(dist_prefix)/$(path)/test-500k.xml) + $(call install-data,$(src_base)/time.hxx,$(dist_prefix)/$(path)/time.hxx) + $(call install-data,$(src_base)/time.cxx,$(dist_prefix)/$(path)/time.cxx) + $(call install-data,$(src_base)/gen.cxx,$(dist_prefix)/$(path)/gen.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +95,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/polymorphism/makefile b/examples/cxx/parser/polymorphism/makefile index f53700b..954518b 100644 --- a/examples/cxx/parser/polymorphism/makefile +++ b/examples/cxx/parser/polymorphism/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx supermen-pimpl.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,25 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/supermen.xsd,$(dist_prefix)/$(path)/supermen.xsd) + $(call install-data,$(src_base)/supermen.xml,$(dist_prefix)/$(path)/supermen.xml) + $(call install-data,$(src_base)/supermen-pimpl.hxx,$(dist_prefix)/$(path)/supermen-pimpl.hxx) + $(call install-data,$(src_base)/supermen-pimpl.cxx,$(dist_prefix)/$(path)/supermen-pimpl.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -70,6 +91,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/polyroot/makefile b/examples/cxx/parser/polyroot/makefile index a62465d..007e1b9 100644 --- a/examples/cxx/parser/polyroot/makefile +++ b/examples/cxx/parser/polyroot/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx supermen-pimpl.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,28 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/supermen.xsd,$(dist_prefix)/$(path)/supermen.xsd) + $(call install-data,$(src_base)/batman.xml,$(dist_prefix)/$(path)/batman.xml) + $(call install-data,$(src_base)/person.xml,$(dist_prefix)/$(path)/person.xml) + $(call install-data,$(src_base)/superman.xml,$(dist_prefix)/$(path)/superman.xml) + $(call install-data,$(src_base)/supermen-pimpl.hxx,$(dist_prefix)/$(path)/supermen-pimpl.hxx) + $(call install-data,$(src_base)/supermen-pimpl.cxx,$(dist_prefix)/$(path)/supermen-pimpl.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +94,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/parser/wildcard/makefile b/examples/cxx/parser/wildcard/makefile index 7345926..8587bfc 100644 --- a/examples/cxx/parser/wildcard/makefile +++ b/examples/cxx/parser/wildcard/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=-pskel.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -42,6 +44,24 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/email.xsd,$(dist_prefix)/$(path)/email.xsd) + $(call install-data,$(src_base)/email.xml,$(dist_prefix)/$(path)/email.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -69,6 +89,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/parser/xsd-cxx.make) diff --git a/examples/cxx/tree/binary/boost/makefile b/examples/cxx/tree/binary/boost/makefile index de332f8..0da560b 100644 --- a/examples/cxx/tree/binary/boost/makefile +++ b/examples/cxx/tree/binary/boost/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -21,9 +23,11 @@ $(call import,\ $(scf_root)/import/libxerces-c/stub.make,\ l: xerces_c.l,cpp-options: xerces_c.l.cpp-options) +ifeq ($(filter $(MAKECMDGOALS),dist dist-win),) $(call import,\ $(scf_root)/import/libboost/serialization/stub.make,\ l: boost_serialization.l,cpp-options: boost_serialization.l.cpp-options) +endif # Build. @@ -52,6 +56,26 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + $(call install-data,$(src_base)/library-prologue.hxx,$(dist_prefix)/$(path)/library-prologue.hxx) + $(call install-data,$(src_base)/boost-archive-extraction.hxx,$(dist_prefix)/$(path)/boost-archive-extraction.hxx) + $(call install-data,$(src_base)/boost-archive-insertion.hxx,$(dist_prefix)/$(path)/boost-archive-insertion.hxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -79,6 +103,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/binary/cdr/makefile b/examples/cxx/tree/binary/cdr/makefile index 25e88e7..e1cd456 100644 --- a/examples/cxx/tree/binary/cdr/makefile +++ b/examples/cxx/tree/binary/cdr/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -21,9 +23,11 @@ $(call import,\ $(scf_root)/import/libxerces-c/stub.make,\ l: xerces_c.l,cpp-options: xerces_c.l.cpp-options) +ifeq ($(filter $(MAKECMDGOALS),dist dist-win),) $(call import,\ $(scf_root)/import/libace/stub.make,\ l: ace.l,cpp-options: ace.l.cpp-options) +endif # Build. @@ -48,6 +52,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -75,6 +96,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/binary/makefile b/examples/cxx/tree/binary/makefile index f30fc66..b2c111f 100644 --- a/examples/cxx/tree/binary/makefile +++ b/examples/cxx/tree/binary/makefile @@ -5,26 +5,47 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make -examples := +all_examples := boost cdr xdr +build_examples := ifeq ($(xsd_with_boost_serialization),y) -examples += boost +build_examples += boost endif ifeq ($(xsd_with_ace),y) -examples += cdr +build_examples += cdr endif ifeq ($(xsd_with_xdr),y) -examples += xdr +build_examples += xdr endif -default := $(out_base)/ -clean := $(out_base)/.clean +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean -.PHONY: $(default) $(clean) +# Build. +# +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(build_examples))) -$(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) -$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) +# Dist. +# +$(dist) $(dist-win): path := $(subst $(src_root)/,,$(src_base)) -$(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + +# Clean. +# +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(build_examples))) + +ifneq ($(filter $(MAKECMDGOALS),dist dist-win),) +$(foreach e,$(all_examples),$(call import,$(src_base)/$e/makefile)) +else +$(foreach e,$(build_examples),$(call import,$(src_base)/$e/makefile)) +endif diff --git a/examples/cxx/tree/binary/xdr/makefile b/examples/cxx/tree/binary/xdr/makefile index cd61637..b517dcc 100644 --- a/examples/cxx/tree/binary/xdr/makefile +++ b/examples/cxx/tree/binary/xdr/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. # @@ -42,6 +44,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -69,6 +88,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/caching/makefile b/examples/cxx/tree/caching/makefile index 45587a9..891f383 100644 --- a/examples/cxx/tree/caching/makefile +++ b/examples/cxx/tree/caching/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,24 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +90,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/calendar/makefile b/examples/cxx/tree/custom/calendar/makefile index 129333f..ada22c0 100644 --- a/examples/cxx/tree/custom/calendar/makefile +++ b/examples/cxx/tree/custom/calendar/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx xml-schema-custom.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -21,9 +23,11 @@ $(call import,\ $(scf_root)/import/libxerces-c/stub.make,\ l: xerces_c.l,cpp-options: xerces_c.l.cpp-options) +ifeq ($(filter $(MAKECMDGOALS),dist dist-win),) $(call import,\ $(scf_root)/import/libboost/date-time/stub.make,\ l: boost_date_time.l,cpp-options: boost_date_time.l.cpp-options) +endif # Build. # @@ -63,6 +67,25 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/calendar.xsd,$(dist_prefix)/$(path)/calendar.xsd) + $(call install-data,$(src_base)/calendar.xml,$(dist_prefix)/$(path)/calendar.xml) + $(call install-data,$(src_base)/xml-schema-custom.hxx,$(dist_prefix)/$(path)/xml-schema-custom.hxx) + $(call install-data,$(src_base)/xml-schema-custom.cxx,$(dist_prefix)/$(path)/xml-schema-custom.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -91,6 +114,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/comments/makefile b/examples/cxx/tree/custom/comments/makefile index f1074ec..d79e78c 100644 --- a/examples/cxx/tree/custom/comments/makefile +++ b/examples/cxx/tree/custom/comments/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx xml-schema-custom.cxx dom-parse.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -57,6 +59,27 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/people.xsd,$(dist_prefix)/$(path)/people.xsd) + $(call install-data,$(src_base)/people.xml,$(dist_prefix)/$(path)/people.xml) + $(call install-data,$(src_base)/xml-schema-custom.hxx,$(dist_prefix)/$(path)/xml-schema-custom.hxx) + $(call install-data,$(src_base)/xml-schema-custom.cxx,$(dist_prefix)/$(path)/xml-schema-custom.cxx) + $(call install-data,$(src_base)/dom-parse.hxx,$(dist_prefix)/$(path)/dom-parse.hxx) + $(call install-data,$(src_base)/dom-parse.cxx,$(dist_prefix)/$(path)/dom-parse.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -85,6 +108,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/contacts/makefile b/examples/cxx/tree/custom/contacts/makefile index d4ddbe5..8483f42 100644 --- a/examples/cxx/tree/custom/contacts/makefile +++ b/examples/cxx/tree/custom/contacts/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx contacts-custom.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -51,6 +53,25 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/contacts.xsd,$(dist_prefix)/$(path)/contacts.xsd) + $(call install-data,$(src_base)/contacts.xml,$(dist_prefix)/$(path)/contacts.xml) + $(call install-data,$(src_base)/contacts-custom.hxx,$(dist_prefix)/$(path)/contacts-custom.hxx) + $(call install-data,$(src_base)/contacts-custom.cxx,$(dist_prefix)/$(path)/contacts-custom.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -78,6 +99,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/double/makefile b/examples/cxx/tree/custom/double/makefile index e8bec43..0e1ed1d 100644 --- a/examples/cxx/tree/custom/double/makefile +++ b/examples/cxx/tree/custom/double/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx double-custom.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -52,6 +54,24 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/order.xsd,$(dist_prefix)/$(path)/order.xsd) + $(call install-data,$(src_base)/double-custom.hxx,$(dist_prefix)/$(path)/double-custom.hxx) + $(call install-data,$(src_base)/double-custom.cxx,$(dist_prefix)/$(path)/double-custom.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -80,6 +100,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/makefile b/examples/cxx/tree/custom/makefile index c29fd03..961916e 100644 --- a/examples/cxx/tree/custom/makefile +++ b/examples/cxx/tree/custom/makefile @@ -5,18 +5,40 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make -examples := comments contacts double taxonomy wildcard +all_examples := comments contacts double taxonomy wildcard calendar +build_examples := comments contacts double taxonomy wildcard ifeq ($(xsd_with_boost_date_time),y) -examples += calendar +build_examples += calendar endif -default := $(out_base)/ -clean := $(out_base)/.clean +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean -.PHONY: $(default) $(clean) +# Build. +# +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(build_examples))) -$(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) -$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) +# Dist. +# +$(dist) $(dist-win): path := $(subst $(src_root)/,,$(src_base)) + +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + +# Clean. +# +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(build_examples))) + +ifneq ($(filter $(MAKECMDGOALS),dist dist-win),) +$(foreach e,$(all_examples),$(call import,$(src_base)/$e/makefile)) +else +$(foreach e,$(build_examples),$(call import,$(src_base)/$e/makefile)) +endif -$(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) diff --git a/examples/cxx/tree/custom/taxonomy/makefile b/examples/cxx/tree/custom/taxonomy/makefile index 02ea144..26e27cf 100644 --- a/examples/cxx/tree/custom/taxonomy/makefile +++ b/examples/cxx/tree/custom/taxonomy/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx people-custom.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -56,6 +58,27 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/people.xsd,$(dist_prefix)/$(path)/people.xsd) + $(call install-data,$(src_base)/people.xml,$(dist_prefix)/$(path)/people.xml) + $(call install-data,$(src_base)/people-custom.hxx,$(dist_prefix)/$(path)/people-custom.hxx) + $(call install-data,$(src_base)/people-custom.cxx,$(dist_prefix)/$(path)/people-custom.cxx) + $(call install-data,$(src_base)/people-custom-fwd.hxx,$(dist_prefix)/$(path)/people-custom-fwd.hxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -83,6 +106,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/custom/wildcard/makefile b/examples/cxx/tree/custom/wildcard/makefile index 49c5306..a813d27 100644 --- a/examples/cxx/tree/custom/wildcard/makefile +++ b/examples/cxx/tree/custom/wildcard/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx wildcard-custom.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -53,6 +55,26 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/wildcard.xsd,$(dist_prefix)/$(path)/wildcard.xsd) + $(call install-data,$(src_base)/wildcard.xml,$(dist_prefix)/$(path)/wildcard.xml) + $(call install-data,$(src_base)/wildcard-custom.hxx,$(dist_prefix)/$(path)/wildcard-custom.hxx) + $(call install-data,$(src_base)/wildcard-custom.cxx,$(dist_prefix)/$(path)/wildcard-custom.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -80,6 +102,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/dbxml/makefile b/examples/cxx/tree/dbxml/makefile index 424a6b8..d3c176a 100644 --- a/examples/cxx/tree/dbxml/makefile +++ b/examples/cxx/tree/dbxml/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -21,9 +23,11 @@ $(call import,\ $(scf_root)/import/libxerces-c/stub.make,\ l: xerces_c.l,cpp-options: xerces_c.l.cpp-options) +ifeq ($(filter $(MAKECMDGOALS),dist dist-win),) $(call import,\ $(scf_root)/import/libdbxml/stub.make,\ l: dbxml.l,cpp-options: dbxml.l.cpp-options) +endif # Build. @@ -47,6 +51,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -74,6 +95,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/hello/makefile b/examples/cxx/tree/hello/makefile index 6994941..6d3a11b 100644 --- a/examples/cxx/tree/hello/makefile +++ b/examples/cxx/tree/hello/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,24 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/hello.xsd,$(dist_prefix)/$(path)/hello.xsd) + $(call install-data,$(src_base)/hello.xml,$(dist_prefix)/$(path)/hello.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -70,6 +90,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/library/makefile b/examples/cxx/tree/library/makefile index 83446c3..b683f45 100644 --- a/examples/cxx/tree/library/makefile +++ b/examples/cxx/tree/library/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -44,6 +46,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/library.xsd,$(dist_prefix)/$(path)/library.xsd) + $(call install-data,$(src_base)/library.xml,$(dist_prefix)/$(path)/library.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -71,6 +90,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/makefile b/examples/cxx/tree/makefile index 7866b33..8b7a665 100644 --- a/examples/cxx/tree/makefile +++ b/examples/cxx/tree/makefile @@ -5,23 +5,47 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make -examples := binary caching custom hello library messaging mixed multiroot \ -performance polymorphism streaming wildcard +all_examples := binary caching custom hello library messaging mixed \ +multiroot performance polymorphism streaming wildcard dbxml xpath + +build_examples := binary caching custom hello library messaging mixed \ +multiroot performance polymorphism streaming wildcard ifeq ($(xsd_with_dbxml),y) -examples += dbxml +build_examples += dbxml endif ifeq ($(xsd_with_xqilla),y) -examples += xpath +build_examples += xpath endif -default := $(out_base)/ -clean := $(out_base)/.clean +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean + +# Build. +# +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(build_examples))) + +# Dist. +# +$(dist) $(dist-win): path := $(subst $(src_root)/,,$(src_base)) -.PHONY: $(default) $(clean) +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) -$(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) -$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) +$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(all_examples))) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) -$(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) +# Clean. +# +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(build_examples))) + + +ifneq ($(filter $(MAKECMDGOALS),dist dist-win),) +$(foreach e,$(all_examples),$(call import,$(src_base)/$e/makefile)) +else +$(foreach e,$(build_examples),$(call import,$(src_base)/$e/makefile)) +endif diff --git a/examples/cxx/tree/messaging/makefile b/examples/cxx/tree/messaging/makefile index 7f7ced1..40f036b 100644 --- a/examples/cxx/tree/messaging/makefile +++ b/examples/cxx/tree/messaging/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx dom-parse.cxx dom-serialize.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -46,6 +48,30 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/protocol.xsd,$(dist_prefix)/$(path)/protocol.xsd) + $(call install-data,$(src_base)/balance.xml,$(dist_prefix)/$(path)/balance.xml) + $(call install-data,$(src_base)/deposit.xml,$(dist_prefix)/$(path)/deposit.xml) + $(call install-data,$(src_base)/withdraw.xml,$(dist_prefix)/$(path)/withdraw.xml) + $(call install-data,$(src_base)/dom-parse.hxx,$(dist_prefix)/$(path)/dom-parse.hxx) + $(call install-data,$(src_base)/dom-parse.cxx,$(dist_prefix)/$(path)/dom-parse.cxx) + $(call install-data,$(src_base)/dom-serialize.hxx,$(dist_prefix)/$(path)/dom-serialize.hxx) + $(call install-data,$(src_base)/dom-serialize.cxx,$(dist_prefix)/$(path)/dom-serialize.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -73,6 +99,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/mixed/makefile b/examples/cxx/tree/mixed/makefile index b2e6338..fa1f1df 100644 --- a/examples/cxx/tree/mixed/makefile +++ b/examples/cxx/tree/mixed/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -44,6 +46,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/text.xsd,$(dist_prefix)/$(path)/text.xsd) + $(call install-data,$(src_base)/text.xml,$(dist_prefix)/$(path)/text.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -71,6 +90,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) diff --git a/examples/cxx/tree/multiroot/makefile b/examples/cxx/tree/multiroot/makefile index 0a6be1f..12a2744 100644 --- a/examples/cxx/tree/multiroot/makefile +++ b/examples/cxx/tree/multiroot/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx dom-parse.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,27 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/protocol.xsd,$(dist_prefix)/$(path)/protocol.xsd) + $(call install-data,$(src_base)/balance.xml,$(dist_prefix)/$(path)/balance.xml) + $(call install-data,$(src_base)/deposit.xml,$(dist_prefix)/$(path)/deposit.xml) + $(call install-data,$(src_base)/withdraw.xml,$(dist_prefix)/$(path)/withdraw.xml) + $(call install-data,$(src_base)/dom-parse.hxx,$(dist_prefix)/$(path)/dom-parse.hxx) + $(call install-data,$(src_base)/dom-parse.cxx,$(dist_prefix)/$(path)/dom-parse.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -70,6 +93,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/performance/makefile b/examples/cxx/tree/performance/makefile index 46cd783..6024180 100644 --- a/examples/cxx/tree/performance/makefile +++ b/examples/cxx/tree/performance/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx parsing.cxx serialization.cxx time.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -43,6 +45,30 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/parsing.cxx,$(dist_prefix)/$(path)/parsing.cxx) + $(call install-data,$(src_base)/serialization.cxx,$(dist_prefix)/$(path)/serialization.cxx) + $(call install-data,$(src_base)/test.xsd,$(dist_prefix)/$(path)/test.xsd) + $(call install-data,$(src_base)/test-5k.xml,$(dist_prefix)/$(path)/test-5k.xml) + $(call install-data,$(src_base)/test-50k.xml,$(dist_prefix)/$(path)/test-50k.xml) + $(call install-data,$(src_base)/test-500k.xml,$(dist_prefix)/$(path)/test-500k.xml) + $(call install-data,$(src_base)/time.hxx,$(dist_prefix)/$(path)/time.hxx) + $(call install-data,$(src_base)/time.cxx,$(dist_prefix)/$(path)/time.cxx) + $(call install-data,$(src_base)/gen.cxx,$(dist_prefix)/$(path)/gen.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -70,6 +96,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/polymorphism/makefile b/examples/cxx/tree/polymorphism/makefile index f9319d0..86fd232 100644 --- a/examples/cxx/tree/polymorphism/makefile +++ b/examples/cxx/tree/polymorphism/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -45,6 +47,24 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/supermen.xsd,$(dist_prefix)/$(path)/supermen.xsd) + $(call install-data,$(src_base)/supermen.xml,$(dist_prefix)/$(path)/supermen.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -72,6 +92,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/streaming/makefile b/examples/cxx/tree/streaming/makefile index f023af4..3a501e3 100644 --- a/examples/cxx/tree/streaming/makefile +++ b/examples/cxx/tree/streaming/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -44,6 +46,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/records.xsd,$(dist_prefix)/$(path)/records.xsd) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) + # Clean. # @@ -72,6 +91,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/wildcard/makefile b/examples/cxx/tree/wildcard/makefile index 2e11468..9386314 100644 --- a/examples/cxx/tree/wildcard/makefile +++ b/examples/cxx/tree/wildcard/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -44,6 +46,23 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/email.xsd,$(dist_prefix)/$(path)/email.xsd) + $(call install-data,$(src_base)/email.xml,$(dist_prefix)/$(path)/email.xml) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -71,6 +90,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/cxx/tree/xpath/makefile b/examples/cxx/tree/xpath/makefile index a8ce9d9..22362c5 100644 --- a/examples/cxx/tree/xpath/makefile +++ b/examples/cxx/tree/xpath/makefile @@ -11,8 +11,10 @@ cxx := driver.cxx dom-parse.cxx obj := $(addprefix $(out_base)/,$(cxx:.cxx=.o) $(xsd:.xsd=.o)) dep := $(obj:.o=.o.d) -driver := $(out_base)/driver -clean := $(out_base)/.clean +driver := $(out_base)/driver +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. @@ -21,9 +23,11 @@ $(call import,\ $(scf_root)/import/libxerces-c/stub.make,\ l: xerces_c.l,cpp-options: xerces_c.l.cpp-options) +ifeq ($(filter $(MAKECMDGOALS),dist dist-win),) $(call import,\ $(scf_root)/import/libxqilla/stub.make,\ l: xqilla.l,cpp-options: xqilla.l.cpp-options) +endif # Build. @@ -47,6 +51,26 @@ $(call include-dep,$(dep)) .PHONY: $(out_base)/ $(out_base)/: $(driver) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist) $(dist-win) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(dist-common): + $(call install-data,$(src_base)/driver.cxx,$(dist_prefix)/$(path)/driver.cxx) + $(call install-data,$(src_base)/driver-2.cxx,$(dist_prefix)/$(path)/driver-2.cxx) + $(call install-data,$(src_base)/people.xsd,$(dist_prefix)/$(path)/people.xsd) + $(call install-data,$(src_base)/people.xml,$(dist_prefix)/$(path)/people.xml) + $(call install-data,$(src_base)/dom-parse.hxx,$(dist_prefix)/$(path)/dom-parse.hxx) + $(call install-data,$(src_base)/dom-parse.cxx,$(dist_prefix)/$(path)/dom-parse.cxx) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) + $(call message,,unix2dos $(dist_prefix)/$(path)/README.txt) # Clean. # @@ -74,6 +98,7 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) +$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) # Dependencies. diff --git a/examples/makefile b/examples/makefile index fcc4e71..66fdde2 100644 --- a/examples/makefile +++ b/examples/makefile @@ -5,12 +5,14 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make -default := $(out_base)/ -clean := $(out_base)/.clean - -.PHONY: $(default) $(clean) +default := $(out_base)/ +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean $(default): $(out_base)/cxx/parser/ $(out_base)/cxx/tree/ +$(dist): $(out_base)/cxx/parser/.dist $(out_base)/cxx/tree/.dist +$(dist-win): $(out_base)/cxx/parser/.dist-win $(out_base)/cxx/tree/.dist-win $(clean): $(out_base)/cxx/parser/.clean $(out_base)/cxx/tree/.clean $(call import,$(src_base)/cxx/parser/makefile) diff --git a/libxsd/README b/libxsd/README index 328d8b2..25fd38a 100644 --- a/libxsd/README +++ b/libxsd/README @@ -1,12 +1,11 @@ libxsd is a runtime library for language mappings generated by -XSD, a W3C XML Schema to C++ data binding compiler. - +CodeSynthesis XSD, a W3C XML Schema to C++ data binding compiler. See the LICENSE file for distribution conditions. See the INSTALL file for prerequisites and installation instructions. -The project page is at http://codesynthesis.com/projects/xsd/ +The project page is at http://www.codesynthesis.com/projects/xsd/ Send bug reports or any other feedback to the xsd-users@codesynthesis.com mailing list. diff --git a/libxsd/makefile b/libxsd/makefile index 7024fef..2f72631 100644 --- a/libxsd/makefile +++ b/libxsd/makefile @@ -5,10 +5,13 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make -install := $(out_base)/.install +install := $(out_base)/.install +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win -.PHONY: $(install) +# Install. +# $(install): $(call install-dir,$(src_base)/xsd,$(install_inc_dir)/xsd) $(call install-data,$(src_base)/FLOSSE,$(install_doc_dir)/libxsd/FLOSSE) @@ -16,5 +19,27 @@ $(install): $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libxsd/LICENSE) $(call install-data,$(src_base)/README,$(install_doc_dir)/libxsd/README) +# Dist. +# +dist-common := $(out_base)/.dist-common + +$(dist-common): + $(call install-dir,$(src_base)/xsd,$(dist_prefix)/libxsd/xsd) + +$(dist): $(dist-common) + $(call install-data,$(src_base)/GPLv2,$(dist_prefix)/libxsd/GPLv2) + $(call install-data,$(src_base)/FLOSSE,$(dist_prefix)/libxsd/FLOSSE) + $(call install-data,$(src_base)/LICENSE,$(dist_prefix)/libxsd/LICENSE) + $(call install-data,$(src_base)/README,$(dist_prefix)/libxsd/README) + +$(dist-win): $(dist-common) + $(call install-data,$(src_base)/GPLv2,$(dist_prefix)/libxsd/GPLv2.txt) + $(call message,,unix2dos $(dist_prefix)/libxsd/GPLv2.txt) + $(call install-data,$(src_base)/FLOSSE,$(dist_prefix)/libxsd/FLOSSE.txt) + $(call message,,unix2dos $(dist_prefix)/libxsd/FLOSSE.txt) + $(call install-data,$(src_base)/LICENSE,$(dist_prefix)/libxsd/LICENSE.txt) + $(call message,,unix2dos $(dist_prefix)/libxsd/LICENSE.txt) + $(call install-data,$(src_base)/README,$(dist_prefix)/libxsd/README.txt) + $(call message,,unix2dos $(dist_prefix)/libxsd/README.txt) $(call include,$(bld_root)/install.make) diff --git a/makefile b/makefile index d82be89..701c953 100644 --- a/makefile +++ b/makefile @@ -8,6 +8,8 @@ include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make default := $(out_base)/ test := $(out_base)/.test install := $(out_base)/.install +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win clean := $(out_base)/.clean cleandoc := $(out_base)/.cleandoc @@ -18,8 +20,12 @@ $(default): $(out_base)/xsd/ \ $(out_base)/examples/ \ $(out_base)/documentation/ +# Test. +# $(test): $(out_base)/tests/.test +# Install. +# $(install): $(out_base)/xsd/.install \ $(out_base)/libxsd/.install \ $(out_base)/documentation/.install @@ -29,7 +35,48 @@ $(install): $(out_base)/xsd/.install \ $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/xsd/NEWS) $(call install-data,$(src_base)/README,$(install_doc_dir)/xsd/README) +# Dist. +# +$(dist): $(out_base)/xsd/.dist \ + $(out_base)/libxsd/.dist \ + $(out_base)/examples/.dist \ + $(out_base)/documentation/.dist + $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) + $(call install-dir,$(src_base)/dist/examples/cxx,$(dist_prefix)/examples/cxx,-name makefile) + $(call install-data,$(src_base)/dist/examples/makefile,$(dist_prefix)/examples/makefile) + $(call install-data,$(src_base)/dist/README-UNIX,$(dist_prefix)/README) + $(call install-data,$(src_base)/GPLv2,$(dist_prefix)/GPLv2) + $(call install-data,$(src_base)/FLOSSE,$(dist_prefix)/FLOSSE) + $(call install-data,$(src_base)/LICENSE,$(dist_prefix)/LICENSE) + $(call install-data,$(src_base)/NEWS,$(dist_prefix)/NEWS) + $(call install-data,$(src_base)/version,$(dist_prefix)/version) +$(dist-win): $(out_base)/xsd/.dist-win \ + $(out_base)/libxsd/.dist-win \ + $(out_base)/examples/.dist-win \ + $(out_base)/documentation/.dist-win + $(call install-dir,$(src_base)/dist/etc,$(dist_prefix)/etc) + $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) + $(call install-dir,$(src_base)/dist/examples/cxx,$(dist_prefix)/examples/cxx) + $(call install-data,$(src_base)/dist/examples/makefile,$(dist_prefix)/examples/makefile) + $(call install-data,$(src_base)/dist/README-WINDOWS,$(dist_prefix)/README.txt) + $(call message,,unix2dos $(dist_prefix)/README.txt) + $(call install-data,$(src_base)/dist/README-UNIX,$(dist_prefix)/README-CYGWIN.txt) + $(call message,,unix2dos $(dist_prefix)/README-CYGWIN.txt) + $(call install-data,$(src_base)/GPLv2,$(dist_prefix)/GPLv2.txt) + $(call message,,unix2dos $(dist_prefix)/GPLv2.txt) + $(call install-data,$(src_base)/FLOSSE,$(dist_prefix)/FLOSSE.txt) + $(call message,,unix2dos $(dist_prefix)/FLOSSE.txt) + $(call install-data,$(src_base)/LICENSE,$(dist_prefix)/LICENSE.txt) + $(call message,,unix2dos $(dist_prefix)/LICENSE.txt) + $(call install-data,$(src_base)/NEWS,$(dist_prefix)/NEWS.txt) + $(call message,,unix2dos $(dist_prefix)/NEWS.txt) + $(call install-data,$(src_base)/version,$(dist_prefix)/version.txt) + $(call message,,unix2dos $(dist_prefix)/version.txt) + + +# Clean. +# $(clean): $(out_base)/xsd/.clean \ $(out_base)/tests/.clean \ $(out_base)/examples/.clean diff --git a/xsd/makefile b/xsd/makefile index af783cb..45da111 100644 --- a/xsd/makefile +++ b/xsd/makefile @@ -60,9 +60,11 @@ cxx_tun += processing/cardinality/processor.cxx \ cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) -xsd := $(out_base)/xsd -clean := $(out_base)/.clean -install := $(out_base)/.install +xsd := $(out_base)/xsd +install := $(out_base)/.install +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. # @@ -107,17 +109,21 @@ $(call include-dep,$(cxx_od)) .PHONY: $(out_base)/ $(out_base)/: $(xsd) -# install +# Install # -.PHONY: $(install) - $(install): $(xsd) $(call install-exec,$<,$(install_bin_dir)/xsd) -# Clean. +# Dist. # -.PHONY: $(clean) +$(dist): $(xsd) + $(call install-exec,$<,$(dist_prefix)/bin/xsd) + +$(dist-win): $(xsd) + $(call install-exec,$<,$(dist_prefix)/bin/xsd.exe) +# Clean. +# $(clean): \ $(xsd).o.clean \ $(addsuffix .cxx.clean,$(cxx_obj)) \ -- cgit v1.1