wdmtg/meson.build

32 lines
832 B
Meson

project('wdmtg', 'vala', 'c', default_options : ['c_std=gnu99'],
version : '0.1.0')
add_project_arguments(['--vapidir', meson.current_source_dir()],
language: 'vala')
conf = configuration_data()
conf.set('CMAKE_PROJECT_NAME', meson.project_name())
conf.set('project_VERSION', meson.project_version())
configure_file(
input : 'config.h.in',
output : 'config.h',
configuration : conf,
)
dependencies = [
dependency('gtk+-3.0'),
dependency('gmodule-2.0'),
dependency('gio-2.0'),
dependency('gio-unix-2.0'),
dependency('gee-0.8'),
dependency('sqlite3'),
dependency('xcb'),
dependency('xcb-sync'),
]
gui = static_library('gui', 'gui.vala', 'config.vapi',
install : false,
dependencies : dependencies)
executable('wdmtg', 'wdmtg.c', 'compound-text.c',
install : true,
link_with : [gui],
dependencies : [dependencies])