wanpipe/api/libsangoma/sample_cpp/compile.bat

27 lines
448 B
Batchfile

@echo off
set CURRENT_DIR=%cd%
set SANG_WP_DEVEL=d:\development_trunk
set SANG_WARNING_LEVEL=-W3 -WX
copy Makefile.Windows makefile
if %errorlevel% NEQ 0 goto failure
build -c -w
if %errorlevel% NEQ 0 goto failure
:ok
echo ********************
echo build was successful
echo ********************
goto end
:failure
echo !!!!!!!!!!!!!!!!!!!!!!!
echo build was UN-successful
echo !!!!!!!!!!!!!!!!!!!!!!!
:end
echo End