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
481 B
13 lines
481 B
project('curses', 'c') |
|
|
|
curses = dependency('curses', required: false, method : get_option('method'), version : '>= 0') |
|
if not curses.found() |
|
error('MESON_SKIP_TEST: Curses library not found') |
|
endif |
|
|
|
exec = executable('basic', 'main.c', dependencies: curses) |
|
# didn't run the test because in general graphics fail on CI |
|
|
|
# this should fail |
|
not_found = dependency('curses', required: false, method : get_option('method'), version : '> 1000000') |
|
assert(not_found.found() == false)
|
|
|