The Meson Build System
http://mesonbuild.com/
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')
|
|
|