1@ECHO OFF 2 3ECHO INFO: Building %CD%... 4 5CALL build_threadx.bat 6IF NOT EXIST tx.a ( 7 ECHO ERROR: ThreadX library build failed. 8 EXIT /B 1 9) 10 11CALL build_threadx_sample.bat 12IF NOT EXIST sample_threadx.out ( 13 ECHO ERROR: ThreadX example build failed. 14 EXIT /B 1 15) 16 17CALL build_threadx_module_library.bat 18IF NOT EXIST txm.a ( 19 ECHO ERROR: ThreadX module library build failed. 20 EXIT /B 1 21) 22 23CALL build_threadx_module_sample.bat 24IF NOT EXIST sample_threadx_module.out ( 25 ECHO ERROR: ThreadX module example build failed. 26 EXIT /B 1 27) 28 29CALL build_threadx_module_manager_sample.bat 30IF NOT EXIST sample_threadx_module_manager.out ( 31 ECHO ERROR: ThreadX module manager example build failed. 32 EXIT /B 1 33) 34 35ECHO INFO: Build completed successfully! 36