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.
 
 
 
 
 
 

14 lines
366 B

project('module test')
modtest = import('modtest')
modtest.print_hello()
assert(modtest.found())
modtest = import('modtest', required : get_option('disabled'))
assert(not modtest.found())
notfound = import('not-found', required : false)
assert(not notfound.found())
disabled = import('not-found', required : false, disabler : true)
assert(is_disabler(disabled))