1
0
mirror of https://github.com/azure-rtos/threadx synced 2025-01-30 08:02:57 +08:00
threadx/test/ports/azrtos_build_tx_iar.bat

18 lines
425 B
Batchfile

@ECHO OFF
ECHO INFO: Building %CD%...
%AZRTOS_IAR_BUILD% tx.ewp -make Debug -log all -parallel %NUMBER_OF_PROCESSORS%
IF %ERRORLEVEL% NEQ 0 (
ECHO ERROR: failed to build tx.ewp
EXIT /B 1
)
%AZRTOS_IAR_BUILD% sample_threadx.ewp -make Debug -log all -parallel %NUMBER_OF_PROCESSORS%
IF %ERRORLEVEL% NEQ 0 (
ECHO ERROR: failed to build sample_threadx.ewp
EXIT /B 1
)
ECHO INFO: Build completed successfully!