A Gtk3 app that added 10% tax to a price
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

meson.build 622B

1234567891011121314151617181920212223
  1. gtk_dep = dependency('gtk+-3.0', version : '>=3.0.0')
  2. # gmodule-export-2.0 is needed to connect the handlers
  3. gmodule_dep = dependency('gmodule-export-2.0', version : '>=2.0')
  4. # Check for the math library
  5. cc = meson.get_compiler('c')
  6. m_dep = cc.find_library('m', required : false)
  7. # -no-pie so that the executable is double clickable in gui
  8. c_args = ['-no-pie']
  9. link_args = ['-no-pie']
  10. sources = ['addtax.c']
  11. sources += ['misc.c']
  12. sources += ['misc.h']
  13. sources += [main_resource_c]
  14. executable('addtax',
  15. sources,
  16. c_args : c_args,
  17. link_args : link_args,
  18. dependencies : [gtk_dep, m_dep, gmodule_dep],
  19. install : true)