File: meson.build

package info (click to toggle)
glib2.0 2.84.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 66,112 kB
  • sloc: ansic: 538,924; python: 9,661; sh: 1,612; xml: 1,482; perl: 1,222; cpp: 535; makefile: 321; javascript: 11
file content (28 lines) | stat: -rw-r--r-- 852 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
if get_option('documentation') and enable_gir
  gidocgen_dep = dependency('gi-docgen', version: '>= 2024.1',
                          fallback: ['gi-docgen', 'dummy_dep'],
                          native: true,
                          required: true)

  toml_conf = configuration_data()
  toml_conf.set('VERSION', meson.project_version())

  gidocgen = find_program('gi-docgen', native: true, required: true)

  gidocgen_common_args = [
    '--quiet',
    '--no-namespace-dir',
    '--fatal-warnings',
    '--add-include-path=@0@'.format(meson.current_build_dir() / '../../girepository/introspection'),
  ]
elif get_option('documentation')
  warning('Full documentation cannot be built without -Dintrospection=enabled')
endif

docs_dir = glib_datadir / 'doc'

subdir('glib')
subdir('gmodule')
subdir('gobject')
subdir('gio')
subdir('girepository')