1 Star 1 Fork 1

blutter/basic编译器

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
autogen.sh 503 Bytes
一键复制 编辑 原始数据 按行查看 历史
blutter 提交于 2018-07-19 20:43 +08:00 . bind remote branch
#!/bin/sh
PROJ=$(cd `dirname $0`; pwd)
SRC=$PROJ/src
if [ "$1" = "debug" ]; then
BUILD=$PROJ/debug
else
BUILD=$PROJ/build
fi
rm -rf $BUILD
if [ ! -d $BUILD ]; then
mkdir $BUILD;
fi
pushd $BUILD
if [ "$1" = "debug" ]; then
echo " ----> Generate DEBUG Makefiles ..."
cmake -DCMAKE_BUILD_TYPE="debug" -G "MSYS Makefiles" ..
make VERBOSE=1
else
echo " ----> Generate RELEASE Makefiles ..."
cmake -DCMAKE_BUILD_TYPE="release" -G "MSYS Makefiles" ..
make
fi
popd
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/blutter/basic_compiler.git
git@gitee.com:blutter/basic_compiler.git
blutter
basic_compiler
basic编译器
master

搜索帮助