aboutsummaryrefslogtreecommitdiff
path: root/meson.build
blob: 291f0b035d237c09edb404d2790eaa599f5e293d (plain)
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
29
30
31
32
33
project('sgm', 'c',
  version : '0.90.0',
  default_options : ['warning_level=3'],
  license: 'LGPLv2.1+')


gtk_dep = dependency('gtk+-3.0', version: '>= 3.8.0')

modules_subdir = 'gtk-3.0/modules'
modules_install_dir = join_paths(gtk_dep.get_variable(
  pkgconfig: 'libdir',
  internal: 'libdir',
  default_value: get_option('libdir')), modules_subdir)


# Don't enable this until the module is ready to go.
#shared_module('sgm-overlay-scrolling-override',
#  sources: [
#    'sgm-overlay-scrolling-override.c',
#  ],
#  dependencies: [ gtk_dep ],
#  install_dir: modules_install_dir,
#  install: true,
#)

shared_module('sgm-flexible-mnemonics',
  sources: [
    'sgm-flexible-mnemonics.c',
  ],
  dependencies: [ gtk_dep ],
  install_dir: modules_install_dir,
  install: true,
)
bgstack15