The Meson Build System http://mesonbuild.com/
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.
 
 
 
 
 
 

13 lines
339 B

myenums = gnome.mkenums('abc',
sources : 'meson-sample.h',
h_template : 'enums.h.in',
c_template : 'enums.c.in',
install_header : true,
install_dir : get_option('includedir'))
enums_c = myenums[0]
enums_h = myenums[1]
enumexe = executable('enumprog', 'main.c', enums_c, enums_h,
dependencies : gobj)
test('enum test', enumexe)