mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
Rename and document the enable-gir option
You can disable introspection now with -Dintrospection=false.
This commit is contained in:
parent
b5e00d36f0
commit
15edfbbc88
@ -384,6 +384,10 @@ How to compile GTK+ itself
|
||||
<arg choice="plain">-Denable-mir-backend=true</arg>
|
||||
<arg choice="plain">-Denable-mir-backend=false</arg>
|
||||
</group>
|
||||
<group>
|
||||
<arg choice="plain">-Dintrospection=true</arg>
|
||||
<arg choice="plain">-Dintrospection=false</arg>
|
||||
</group>
|
||||
</cmdsynopsis>
|
||||
</para>
|
||||
|
||||
@ -480,6 +484,17 @@ How to compile GTK+ itself
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>introspection</systemitem></title>
|
||||
|
||||
<para>
|
||||
Allows to disable building introspection support. This is option
|
||||
is mainly useful for shortening turnaround times on developer
|
||||
systems. Installed builds of GTK+ should always have introspection
|
||||
support.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>build-tests</systemitem>
|
||||
<systemitem>demos</systemitem></title>
|
||||
|
@ -920,7 +920,7 @@ libgtk_dep = declare_dependency(sources: [gtkversion, gtktypebuiltins_h],
|
||||
link_args: common_ldflags)
|
||||
|
||||
# Introspection
|
||||
build_gir = get_option('enable-gir')
|
||||
build_gir = get_option('introspection')
|
||||
if build_gir
|
||||
gir_args = [
|
||||
'--quiet',
|
||||
|
@ -34,7 +34,7 @@ option('enable-documentation', type: 'boolean', value: 'false',
|
||||
description : 'Build API reference and tools documentation')
|
||||
option('enable-man-pages', type: 'boolean', value: 'false',
|
||||
description : 'Build man pages for installed tools')
|
||||
option('enable-gir', type: 'boolean', value: 'true',
|
||||
option('introspection', type: 'boolean', value: 'true',
|
||||
description : 'Build introspection data (requires gobject-introspection)')
|
||||
option('demos', type: 'boolean', value: 'true',
|
||||
description : 'Build demos and example programs')
|
||||
|
Loading…
Reference in New Issue
Block a user