addtax/src/meson.build

24 lines
622 B
Meson

gtk_dep = dependency('gtk+-3.0', version : '>=3.0.0')
# gmodule-export-2.0 is needed to connect the handlers
gmodule_dep = dependency('gmodule-export-2.0', version : '>=2.0')
# Check for the math library
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
# -no-pie so that the executable is double clickable in gui
c_args = ['-no-pie']
link_args = ['-no-pie']
sources = ['addtax.c']
sources += ['misc.c']
sources += ['misc.h']
sources += [main_resource_c]
executable('addtax',
sources,
c_args : c_args,
link_args : link_args,
dependencies : [gtk_dep, m_dep, gmodule_dep],
install : true)