6 Star 46 Fork 35

Flying/lv_demo_hub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_all.sh 883 Bytes
一键复制 编辑 原始数据 按行查看 历史
Flying 提交于 2022-07-14 21:47 . first commit
#!/bin/sh
###
# @Author: Flying
# @Date: 2021-12-16 09:56:08
# @LastEditors: Flying
# @LastEditTime: 2022-06-18 10:39:44
# @Description: 新建文件
###
make_op=""
cmake_op=" -DFLYING_PLATFORM=ubuntu"
for param in "$@"
do
if [ "${param:0:1}" != "-" ]; then
echo "$param error"
exit 1
fi
if [ "${param:1:1}" == "j" ]; then
make_op=$param
fi
if [ "$param" == "-linuxarm" ]; then
cmake_op="-D CMAKE_TOOLCHAIN_FILE=./cmake_conf/toolchain.cmake -D FLYING_PLATFORM=linuxarm"
elif [ "$param" == "-ubntu" ]; then
cmake_op="-D FLYING_PLATFORM=ubuntu"
fi
if [ "${param:0:2}" == "-h" ]; then
echo "eg: $0 -j4"
echo "eg: $0 -j8 -linuxarm"
exit 0;
fi
done
echo "make_op = $make_op "
echo "cmake_op = $cmake_op "
rm build -rf
mkdir build
cd build
cmake $cmake_op ..
make $make_op
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mFlying/lv_demo_hub.git
git@gitee.com:mFlying/lv_demo_hub.git
mFlying
lv_demo_hub
lv_demo_hub
master

搜索帮助