summaryrefslogtreecommitdiff
path: root/meson.build
blob: 7327000bdd759ba52cff904de88dbcf8aa12b1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
project(
  'fehqlibs',
  'c',
  meson_version : '>=1.1.0',
  version : run_command('cut', '-f2', '-d-', 'VERSION', check : true).stdout().strip(),
  license : 'CUSTOM',
  license_files : 'LICENSE',
  default_options : ['c_std=gnu99'],
)

subdir('include')
subdir('src')
subdir('man')

pkg_mod = import('pkgconfig')
pkg_mod.generate(qlibs_lib, subdirs : qlibs_hdr_subdir)
pkg_mod.generate(dnsresolv_lib, subdirs : qlibs_hdr_subdir)

qlibs_dep = declare_dependency(link_with : qlibs_lib, include_directories : qlibs_inc)
qlibs_socket_dep = declare_dependency(link_with : socket_lib, include_directories : qlibs_inc)
qlibs_dnsresolv_dep = declare_dependency(link_with : dnsresolv_lib, include_directories : qlibs_inc)