summaryrefslogtreecommitdiff
path: root/cli/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-02-18 11:56:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-02-18 17:28:01 +0300
commit83de480a8bab105dac641f31bf2a9e6adda02fcb (patch)
tree13aa28a6266b40752758363a3602b0f89d8927a2 /cli/doc
parent6bb92caef1b1c59678159a15ebc08fe2dc05d624 (diff)
Add --export-symbol option
Diffstat (limited to 'cli/doc')
-rw-r--r--cli/doc/bootstrap/cli.13
-rw-r--r--cli/doc/bootstrap/cli.xhtml5
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/doc/bootstrap/cli.1 b/cli/doc/bootstrap/cli.1
index 8231848..2c9645e 100644
--- a/cli/doc/bootstrap/cli.1
+++ b/cli/doc/bootstrap/cli.1
@@ -157,6 +157,9 @@ namespace\.
.IP "\fB--ostream-type\fR \fItype\fR"
Output stream type instead of the default \fBstd::ostream\fR that should be
used to print usage and exception information\.
+.IP "\fB--export-symbol\fR \fIsymbol\fR"
+Insert \fIsymbol\fR in places where DLL export/import control statements
+(\fB__declspec(dllexport/dllimport)\fR) are necessary\.
.IP "\fB--generate-cxx\fR"
Generate C++ code\. If neither \fB--generate-man\fR, \fB--generate-html\fR,
nor \fB--generate-txt\fR is specified, this mode is assumed by default\.
diff --git a/cli/doc/bootstrap/cli.xhtml b/cli/doc/bootstrap/cli.xhtml
index 56273ef..96dc913 100644
--- a/cli/doc/bootstrap/cli.xhtml
+++ b/cli/doc/bootstrap/cli.xhtml
@@ -192,6 +192,11 @@ arg+{ --foo } # 'arg+{' ...</pre>
<code><b>std::ostream</b></code> that should be used to print usage and
exception information.</dd>
+ <dt><code><b>--export-symbol</b></code> <code><i>symbol</i></code></dt>
+ <dd>Insert <code><i>symbol</i></code> in places where DLL export/import
+ control statements (<code><b>__declspec(dllexport/dllimport)</b></code>)
+ are necessary.</dd>
+
<dt><code><b>--generate-cxx</b></code></dt>
<dd>Generate C++ code. If neither <code><b>--generate-man</b></code>,
<code><b>--generate-html</b></code>, nor