1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #155, debug srs on xcode.

This commit is contained in:
winlin 2015-03-10 13:13:31 +08:00
parent db7ddfd510
commit 0ff49fd299
5 changed files with 42 additions and 12 deletions

19
trunk/configure vendored
View file

@ -9,13 +9,20 @@ SRS_OBJS_DIR="objs"
SRS_OBJS="${SRS_WORKDIR}/${SRS_OBJS_DIR}"
mkdir -p ${SRS_OBJS}
#####################################################################################
# linux shell color support.
RED="\\033[31m"
GREEN="\\033[32m"
YELLOW="\\033[33m"
BLACK="\\033[0m"
# clean the exists, when not export srs-librtmp.
# do this only when the options is ok.
if [[ -f Makefile ]]; then
make clean
fi
# remove makefile
rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE}
#####################################################################################
# parse user options, set the variables like:
# srs features: SRS_SSL/SRS_HLS/SRS_NGINX/SRS_FFMPEG_TOOL/SRS_HTTP_CALLBACK/......
@ -67,16 +74,6 @@ for SRS_MODULE in $SRS_MODULES; do
__mcleanups="$__mcleanups $SRS_MODULE_NAME"
done
# clean the exists, when not export srs-librtmp.
# do this only when the options is ok.
if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
if [[ -f Makefile ]]; then
make clean
fi
fi
# remove makefile
rm -f ${SRS_WORKDIR}/${SRS_MAKEFILE}
#####################################################################################
# build tools or compiler args.
# enable gdb debug