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)