project('cairo-curve', 'c') cc = meson.get_compiler('c') deps = [] deps += dependency ('gtk+-2.0') deps += cc.find_library('m', required : false) sources = ['cairo-curve.c'] executable('cairo-curve', sources, dependencies: deps)