aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/139 mesonintrospect from scripts/meson.build
blob: 11176727d72571048aa1e9241cff4cb59bbaf3df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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_introspection.py')
meson.add_install_script('check_env.py')