You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
@echo off set UV=C:\Keil_v5\UV4\UV4.exe
@REM ���������Ƿ�����2�� if "%1"=="" ( echo Usage: %0 UV_PRO_PATH BUILD_RESULT echo Done. exit /b 1 )
set UV_PRO_PATH=%1 set BUILD_RESULT=%2
echo -------------------------------------------------------------------- echo - - echo -build %1 %2 echo - - echo --------------------------------------------------------------------
echo .>build_log.txt @REM ɾ���ɵı������� if exist %BUILD_RESULT% ( del %BUILD_RESULT% ) @REM ���� %UV% -j12 -b %UV_PRO_PATH% -o %cd%\build_log.txt @REM ��ʾ������־ type build_log.txt @REM ���������Ƿ��ɹ� if exist %BUILD_RESULT% ( echo - echo --------------------Build Success---------------------. echo Done. ) else ( echo - echo --------------------Build failed---------------------. echo Done. exit /b 1 )
|