代码拉取完成,页面将自动刷新
#!/bin/sh
usage()
{
echo "**************build stream from rtsp demo******************"
echo "1. build 32bit program ./Buildit rtsp i386 [target in i386]"
echo "2. build 64bit program ./Buildit rtsp x64 [target in x64]"
echo "3. build arm program for arm ./Buildit rtsp arm [target in arm]"
echo "4. clean up ./Buildit rtsp clean"
echo "-----------------------------------------------------------"
echo "**************build stream from file demo******************"
echo "5. build 32bit program ./Buildit file i386 [target in i386]"
echo "6. build 64bit program ./Buildit file x64 [target in x64]"
echo "7. build arm program for arm ./Buildit file arm [target in arm]"
echo "8. clean up ./Buildit file clean"
echo "-----------------------------------------------------------"
echo "**************build stream from sdk demo*******************"
echo "9. build 32bit program ./Buildit sdk i386 [target in i386]"
echo "10. build arm program for arm ./Buildit sdk arm [target in arm]"
echo "11. clean up ./Buildit sdk clean"
echo "-----------------------------------------------------------"
}
build()
{
if [ "$1" = "clean" ] ; then
make -f nbproject/Makefile-arm.mk QMAKE= SUBPROJECTS= .clean-conf
make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .clean-conf
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .clean-conf
make -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf
elif [ "$1" = "arm" ] ; then
make -f nbproject/Makefile-arm.mk QMAKE= SUBPROJECTS= .build-conf
elif [ "$1" = "x64" ] ; then
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .build-conf
elif [ "$1" = "i386" ] ; then
make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .build-conf
else
usage;
fi
}
if [ "$1" = "rtsp" ] ; then
cd EasyPusher_RTSP
build $2;
elif [ "$1" = "file" ] ; then
cd EasyPusher_File
build $2;
elif [ "$1" = "sdk" ] ; then
cd EasyPusher_SDK
build $2;
else
usage;
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。