meson 中有时需要调用其他脚本语言,加之对meson build system接口和原理不熟悉,无奈只有静心学习meson 官方文档,终于皇天不负有心人让我找到了;

  run_command()

  只需将自己要执行的脚本放入run_command()中即可。用法如下

  run_command('command', 'arg1', 'arg2', 'arg3') //run_command('./download.sh')

  详情参考:http://mesonbuild.com/External-commands.html

相关文章:

  • 2021-09-28
  • 2021-07-17
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-10-25
相关资源
相似解决方案