As the title says, I have a workspace with ~100 projects. I would like to know if there is a way to stop a batch build as soon as one of them fails, since this would make me save a lot of time instead of waiting for all of them to build
µVision sets the ERRORLEVEL after each build process to indicate the status, see:
You can access the ERRORLEVEL in batch files. Refer to the Windows command reference or to batch commands in the Windows on-line help for more information on ERRORLEVEL or batch files.
Unfortunately I'm speaking about Keil "Batch Build" in a workspace, not about Windows batch files.
I see, thanks for the clarification. Did you try to use the "Stop Build"-button, introduced at: http://www.keil.com/support/man/docs/uv4/uv4_ui_project.htm
Yes, I use it a lot when I'm building my workspace using the GUI. However, in my team we use a lot of scripts to start a workspace build in an automated manner; and there it would be useful to do what the title says.
View all questions in Keil forum