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
334 B
14 lines
334 B
project('mesonintrospect from scripts', 'c') |
|
|
|
python = import('python3').find_python() |
|
|
|
ret = run_command(python, ['check_env.py', '1']) |
|
if ret.returncode() == 0 |
|
find_program(ret.stdout()) |
|
else |
|
message(ret.stdout()) |
|
message(ret.stderr()) |
|
endif |
|
|
|
meson.add_postconf_script('check_env.py') |
|
meson.add_install_script('check_env.py')
|
|
|