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.
15 lines
362 B
15 lines
362 B
9 years ago
|
enums_h = gnome.mkenums('enums.h',
|
||
|
sources : 'meson-sample.h',
|
||
|
template : 'enums.h.in',
|
||
|
install : true,
|
||
|
install_dir : get_option('includedir'))
|
||
|
|
||
|
enums_c = gnome.mkenums('enums.c',
|
||
|
sources : 'meson-sample.h',
|
||
|
template : 'enums.c.in',
|
||
|
depends : enums_h)
|
||
|
|
||
|
enumexe = executable('enumprog', 'main.c', enums_c, enums_h,
|
||
|
dependencies : gobj)
|
||
|
test('enum test', enumexe)
|