Windows10+VSCode+CMake+shell脚本编译C/C++程序
摘要:一、概述 想要在Windows10上做C++验证/编译类库,借助VSCode(其实这东西要不要都行,它就是来方便查看代码的)+CMake+shell脚本做程序的编译运行。 下面写一个小例子记录一下 准备工作: 1.编译环境用的是mingw64,使用其再带的g++编译,ps:记得要配置其环境变量 2.
阅读全文
posted @
2023-11-07 17:48
飘杨......
阅读(247)
推荐(0) 编辑
shell脚本常用命令
摘要:#!/bin/bash echo $1 adb devices > devices.txt echo "开始读取设备" line_num=0 while read -r line do if [ $line_num != 0 ]&&[ -n "$line" ]; then devices_info=
阅读全文
posted @
2023-11-06 13:49
飘杨......
阅读(37)
推荐(0) 编辑