summaryrefslogtreecommitdiff
path: root/man/man1/slice2cpp.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/slice2cpp.1')
-rw-r--r--man/man1/slice2cpp.157
1 files changed, 32 insertions, 25 deletions
diff --git a/man/man1/slice2cpp.1 b/man/man1/slice2cpp.1
index 96339658fda..e7d6bcbc2e2 100644
--- a/man/man1/slice2cpp.1
+++ b/man/man1/slice2cpp.1
@@ -10,11 +10,12 @@ slice2cpp [options] [files]
.SH DESCRIPTION
-slice2cpp compiles Slice files to C++.
+slice2cpp compiles Slice files to C++. The macro __SLICE2CPP__
+is defined during this compilation.
Full documentation for slice2cpp is available online at:
.br
-"https://doc.zeroc.com/display/Ice37/slice2cpp+Command-Line+Options".
+https://doc.zeroc.com/display/Ice37/slice2cpp+Command-Line+Options
.SH OPTIONS
@@ -34,7 +35,7 @@ Defines the preprocessor symbol NAME.
.TP
.BR \-DNAME=DEF\fR
-.br
+.br
Defines the preprocessor symbol NAME with the value DEF.
.TP
@@ -63,15 +64,30 @@ Place the generated files into directory DIR.
Print debug information showing the operation of the Slice parser.
.TP
-.BR \-\-ice\fR
+.BR \-\-depend\fR
.br
-Permit use of the normally reserved prefix Ice for identifiers. Use this
-option only when compiling the source code for the Ice run time.
+Print dependency information to standard output by default, or to the
+file specified by the --depend-file option. No code is generated when
+this option is specified.
.TP
-.BR \-\-underscore\fR
+.BR \-\-depend\-xml\fR
.br
-Permit use of underscores in Slice identifiers.
+Print dependency information in XML format to standard output by default,
+or to the file specified by the --depend-file option. No code is generated
+when this option is specified.
+
+.TP
+.BR \-\-depend\-file " " FILE\fR
+.br
+Directs dependency information to the specified file. The output
+format depends on whether --depend or --depend-xml is also specified.
+
+.TP
+.BR \-\-validate\fR
+.br
+Checks the provided command-line options for correctness, and does not
+generate any code.
.TP
.BR \-\-header-ext " " EXT\fR
@@ -100,38 +116,29 @@ Modifies #include directives in source files to prepend the path name of each
header file with the directory DIR.
.TP
-.BR \-\-impl\fR
+.BR \-\-impl\-c++11\fR
.br
-Generate sample implementation files. This option will not overwrite an
-existing file.
-
-.TP
-.BR \-\-depend\fR
-Prints makefile dependency information to standard output.
+Generate sample implementation files for the C++11 mapping. This option will
+not overwrite an existing file.
.TP
-.BR \-\-dll-export " " SYMBOL\fR
+.BR \-\-impl\-c++98\fR
.br
-Use SYMBOL to control DLL exports or imports. This option allows you to
-selectively export or import global symbols in the generated code.
+Generate sample implementation files for the C++98 mapping. This option will
+not overwrite an existing file.
.TP
.BR \-\-checksum\fR
.br
Generate checksums for Slice definitions.
-.TP
-.BR \-\-stream\fR
-.br
-Generate streaming helper functions for Slice types.
.SH SEE ALSO
.BR slice2cs (1),
-.BR slice2freeze (1),
-.BR slice2freezej (1),
.BR slice2html (1),
-.BR slice2java (1),
+.BR slice2java (1),
+.BR slice2js (1),
.BR slice2php (1),
.BR slice2py (1),
.BR slice2rb (1)