study-system/client/meson.build

31 lines
564 B
Meson

project(
'study-system-client',
'vala',
version : '0.1.0',
)
# Vala often generates C code that produces warnings, so ignore these
# to avoid a noisy build output.
add_project_arguments('-w', language: 'c')
gtk_dep = dependency('gtk4')
conf = configuration_data()
conf.set_quoted(
'CONFIG_CERT_DIR',
join_paths(meson.project_source_root(), '..', 'test'))
configure_file(
output: 'config.h',
configuration: conf
)
exe = executable(
'study-system-client',
[
'main.vala',
'config.vapi'
],
dependencies: [gtk_dep],
c_args: ['-w']
)