summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-06-23 23:12:04 +0100
committerEmmanuele Bassi <ebassi@gmail.com>2021-07-29 16:18:20 +0000
commit8268f11f5765d6a45560f5817f1d45c5842ebadc (patch)
tree87fd41ebe67bac09f3fe72996ae7acb41705c832
parent5609cc54dde836d3d96878f131bd721db398d1b7 (diff)
downloadgobject-introspection-ebassi/compiler-opt.tar.gz
Document the newly added g-ir-scanner CLI optionebassi/compiler-opt
-rw-r--r--docs/g-ir-scanner.16
-rw-r--r--docs/website/tools/g-ir-scanner.rst6
2 files changed, 12 insertions, 0 deletions
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.