一键生成项目脚本

#!/bin/bash

mkdir -p include lib src bin doc etc 3rd/include 3rd/lib dist
touch README.md BUILD.md RELEASE.md Makefile .gitignore
git init

# personal
git submodule add https://github.com/ithewei/hw.git src/hw
cp src/hw/.gitignore .
cp src/hw/Makefile .
cp -r src/hw/etc/* etc
cp src/hw/main.cpp.tmpl src/main.cpp

make
bin/test -h
ithewei CSDN认证博客专家 c/c++ Qt libhv
编程之路,其路漫漫,吾将上下而求索
https://github.com/ithewei
https://hewei.blog.csdn.net
©️2020 CSDN 皮肤主题: 代码科技 设计师:Amelia_0503 返回首页