[gobject-introspection/ebassi/compiler-opt] Document the newly added g-ir-scanner CLI option



commit b67f4e4edc49c7735c6a84f8693614e91e37233e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jun 23 23:12:04 2021 +0100

    Document the newly added g-ir-scanner CLI option

 docs/g-ir-scanner.1                 | 6 ++++++
 docs/website/tools/g-ir-scanner.rst | 6 ++++++
 2 files changed, 12 insertions(+)
---
diff --git a/docs/g-ir-scanner.1 b/docs/g-ir-scanner.1
index d25f321b..6e713d7b 100644
--- a/docs/g-ir-scanner.1
+++ b/docs/g-ir-scanner.1
@@ -148,6 +148,12 @@ List of pkg\-config packages that are provided by the generated gir. This
 option can be specified multiple times if the gir provides more packages.
 If not specified, the packages specified with \fB\-\-pkg=\fP will be used.
 .TP
+.BI \-\-compiler\fB= COMPILER
+The C compiler to be used internally by g\-ir\-scanner when introspecting
+the run time type information, like properties, signals, ancestors, and
+implemented interfaces. It has the same semantics as the \fBCC\fP environment
+variable.
+.TP
 .B \-\-verbose
 Be verbose, include some debugging information.
 .UNINDENT
diff --git a/docs/website/tools/g-ir-scanner.rst b/docs/website/tools/g-ir-scanner.rst
index e8df7457..8d366335 100644
--- a/docs/website/tools/g-ir-scanner.rst
+++ b/docs/website/tools/g-ir-scanner.rst
@@ -133,6 +133,12 @@ OPTIONS
     option can be specified multiple times if the gir provides more packages.
     If not specified, the packages specified with ``--pkg=`` will be used.
 
+--compiler=COMPILER
+    The C compiler to be used internally by g-ir-scanner when introspecting
+    the run time type information, like properties, signals, ancestors, and
+    implemented interfaces. It has the same semantics as the ``CC`` environment
+    variable.
+
 --verbose
     Be verbose, include some debugging information.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]