summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/xsd.130
-rw-r--r--documentation/xsd.xhtml9
2 files changed, 31 insertions, 8 deletions
diff --git a/documentation/xsd.1 b/documentation/xsd.1
index fc652d6..db7cd75 100644
--- a/documentation/xsd.1
+++ b/documentation/xsd.1
@@ -467,13 +467,6 @@ Insert the content of the
at the end of each generated file for which there is no file-specific
epilogue file.
-.IP "\fB\--export-symbol \fIsymbol\fR"
-Insert
-.I symbol
-in places where DLL export/import control statements (
-.BR __declspec(dllexport/dllimport) )
-are necessary.
-
.IP "\fB\--custom-literals \fIfile\fR"
Load custom XML string to C++ literal mappings from
.IR file .
@@ -485,11 +478,22 @@ strings. The format of this file is specified in the
.B custom-literals.xsd
XML Schema file that can be found in the documentation directory.
+.IP "\fB\--export-symbol \fIsymbol\fR"
+Insert
+.I symbol
+in places where DLL export/import control statements (
+.BR __declspec(dllexport/dllimport) )
+are necessary.
+
.IP "\fB\--export-xml-schema\fR"
Export/import types in the XML Schema namespace using the export
symbol provided with the
.B --export-symbol
-option.
+option. The
+.B XSD_NO_EXPORT
+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.
.IP "\fB\--export-maps\fR"
Export polymorphism support maps from a Win32 DLL into which this generated
@@ -501,6 +505,11 @@ the generated code for all other DLLs should be compiled with
.BR --import-maps .
This option is only valid together with
.BR --generate-polymorphic.
+The
+.B XSD_NO_EXPORT
+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.
.IP "\fB\--import-maps\fR"
Import polymorphism support maps to a Win32 DLL or executable into which
@@ -508,6 +517,11 @@ this generated code is linked. See the
.B --export-maps
option documentation for details. This option is only valid together with
.BR --generate-polymorphic.
+The
+.B XSD_NO_EXPORT
+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.
.IP "\fB\--disable-warning \fIwarn\fR"
Disable printing warning with id
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>