1 Star 0 Fork 49

enjoylife/NoahGameFrame

forked from kytooooo/NoahGameFrame 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
buildServer.sh 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
ketoo 提交于 2020-08-23 15:39 . fix bugs
# make sure cmake is installed
# sudo apt-get update
#g++ sudo apt-get install g++
#unzip sudo apt-get install unzip
#compile dep libraries
#example 1: ./buildServer
#example 2: ./buildServer BUILD_MID_WARE DEBUG
#example 3: ./buildServer BUILD_MID_WARE
if [ "$1" == "BUILD_MID_WARE" ]; then
echo "we dont need to compile message and tools again"
else
echo "we only build NF SDK here"
cd NFComm/NFMessageDefine
./cpp.sh
cd ../../
cd BuildScript/linux/
chmod -R 755 ./BuildNF.CMake.Tools.sh
./BuildNF.CMake.Tools.sh
cd ../../
cd _Out/NFDataCfg/Tool/
chmod 755 ./NFFileProcess
chmod 755 ./copy_files.sh
./copy_files.sh
cd ..
cd ..
cd ..
fi
if [ "$2" == "DEBUG" ]; then
rm -rf ./_Out/Debug/NFServer
rm -rf ./_Out/Debug/*.a
cd BuildScript/linux/
chmod -R 755 ./BuildNF.CMake.Debug.sh
time ./BuildNF.CMake.Debug.sh $1
else
rm -rf ./_Out/Release/NFServer
rm -rf ./_Out/Release/*.a
cd BuildScript/linux/
chmod -R 755 ./BuildNF.CMake.Release.sh
time ./BuildNF.CMake.Release.sh $1
fi
cd ../../
cd _Out/
chmod 777 *.sh
cd ../
#pwd
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/enjoylife/NoahGameFrame.git
git@gitee.com:enjoylife/NoahGameFrame.git
enjoylife
NoahGameFrame
NoahGameFrame
master

搜索帮助