summaryrefslogtreecommitdiff
path: root/documentation/xsd.xhtml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
commit2c0a77a8f4565b6ef76c32b970df48369b3d0456 (patch)
tree6c8d18b27efa644cf852cfdb42158864895ac5b9 /documentation/xsd.xhtml
parent5a2282e394b4049d3db96c2c28e8622e7193a014 (diff)
Add support for excluding export code from compilation
Affected options: --generate-xml-schema, --export-maps, --import-maps. New macros: XSD_NO_EXPORT, XSD_MAP_VISIBILITY. Reorder template arguments for the idref type.
Diffstat (limited to 'documentation/xsd.xhtml')
-rw-r--r--documentation/xsd.xhtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml
index 59aaa76..4acf822 100644
--- a/documentation/xsd.xhtml
+++ b/documentation/xsd.xhtml
@@ -426,6 +426,9 @@
<dt><code><b>--export-xml-schema</b></code></dt>
<dd>Export/import types in the XML Schema namespace using the export
symbol provided with the <code><b>--export-symbol</b></code> option.
+ The <code><b>XSD_NO_EXPORT</b></code> macro can be used to omit
+ this code during C++ compilation, which may be useful if you
+ would like to use the same generated code across multiple platforms.
</dd>
<dt><code><b>--export-maps</b></code></dt>
@@ -438,6 +441,9 @@
DLLs should be compiled with <code><b>--import-maps</b></code>.
This option is only valid together with
<code><b>--generate-polymorphic</b></code>.
+ The <code><b>XSD_NO_EXPORT</b></code> macro can be used to omit
+ this code during C++ compilation, which may be useful if you
+ would like to use the same generated code across multiple platforms.
</dd>
<dt><code><b>--import-maps</b></code></dt>
@@ -445,6 +451,9 @@
which this generated code is linked. See the <code><b>--export-maps</b></code>
option documentation for details. This options is only valid together
with <code><b>--generate-polymorphic</b></code>.
+ The <code><b>XSD_NO_EXPORT</b></code> macro can be used to omit
+ this code during C++ compilation, which may be useful if you
+ would like to use the same generated code across multiple platforms.
</dd>
<dt><code><b>--disable-warning</b> <i>warn</i></code></dt>