meson 中调用shell script
生活随笔
收集整理的這篇文章主要介紹了
meson 中调用shell script
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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
轉載于:https://www.cnblogs.com/Malphite/p/10332639.html
總結
以上是生活随笔為你收集整理的meson 中调用shell script的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 儿
- 下一篇: Flutter 网络请求库http