project('libpwews', 'c', version: '0.02', meson_version: '>= 1.1.0', ) if get_option('abiver') == '' error('Option "abiver" is required, please add "-Dabiver=x"') endif if not get_option('phpslot').contains('.') error('Option "phpslot" is required, please add "-Dphpslot=x.x"') endif abi_implement_version=get_option('abiver') php_api_version=get_option('phpslot') message( run_command( find_program('pw-build-meson'),'src',php_api_version,abi_implement_version, check:true ).stdout().strip() ) subdir('src')