From dfe30bb81e90d729cd11dddeeb04924df38d0bcc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Jun 2011 04:36:07 +0200 Subject: Add support for fat type files Such files also contain all the global elements that this type classifies. --- documentation/xsd.1 | 8 ++++++++ documentation/xsd.xhtml | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'documentation') diff --git a/documentation/xsd.1 b/documentation/xsd.1 index f291e88..0920c29 100644 --- a/documentation/xsd.1 +++ b/documentation/xsd.1 @@ -767,6 +767,14 @@ the option. Use this option to find out why your regular expressions don't do what you expected them to do. +.IP "\fB\--fat-type-file\fR" +Generate code corresponding to global elements into type files +instead of schema files when the +.B --type-file-regex +option is specified. This option is primarily useful when trying +to minimize the amount of object code that is linked to an executable +by packaging compiled generated code into a static (archive) library. + .IP "\fB\--file-list \fIfile\fR" Write a list of generated C++ files to .IR file . diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml index a416ef7..79dd1fb 100644 --- a/documentation/xsd.xhtml +++ b/documentation/xsd.xhtml @@ -672,6 +672,14 @@ them to do. +
--fat-type-file
+
Generate code corresponding to global elements into type files + instead of schema files when the --type-file-regex + option is specified. This option is primarily useful when trying + to minimize the amount of object code that is linked to an executable + by packaging compiled generated code into a static (archive) library. +
+
--file-list file
-- cgit v1.1