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
358 B
15 lines
358 B
project('configure file test', 'c') |
|
|
|
conf = configuration_data() |
|
|
|
conf.set('var', 'mystring') |
|
conf.set('other', 'string 2') |
|
conf.set('second', ' bonus') |
|
conf.set('BE_TRUE', true) |
|
|
|
configure_file(input : 'config.h.in', |
|
output : 'config.h', |
|
configuration : conf) |
|
|
|
e = executable('inctest', 'prog.c', include_dirs : include_directories('.')) |
|
test('inctest', e)
|
|
|