summaryrefslogtreecommitdiff
path: root/modules/input/meson.build
blob: 7b201af894bc8551e2e6a98327c923ed1e1039a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# Note: the list of immodules is in $(srcroot)/meson.build!

foreach l: immodules
  name = l[0]
  immod_sources = l[1]
  cond = l.get(2, true)
  cflags = l.get(3, [])

  if cond and not builtin_immodules
    shared_module('im-@0@'.format(name),
                  immod_sources,
                  c_args: common_cflags + cflags,
                  dependencies: [ libgtk_dep ],
                  install_dir: '@0@/gtk-@1@/@2@/immodules/'.format(gtk_libdir, gtk_api_version, gtk_binary_version),
                  include_directories: [confinc, gtkinc],
                  install : true,
                  name_suffix: module_suffix,
                  name_prefix: '')
  endif
endforeach