blob: 1cb42c4e77096ae826b94b46fb5e9566309d8471 [file] [log] [blame]
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))