PDA

View Full Version : Summary of failed build projects


Kim
05-23-2003, 06:00 AM
I'm using the "Ignore step failure" option when building my projects. When all projects have been build, I would like to create a messagebox or logfile containing only the projects that failed to build.

Is there a way to summarize only the failed projects in the end of the build?

--e.g.--
Projects that failed to build:
C:\MyProject01\Project01.dsp
C:\MyProject05\Project05.dsp

kinook
05-23-2003, 04:54 PM
If you specify a multi-project workspace (DSW) in the Make VC6 action, and check 'Continue building non-dependent projects if a project fails to build' and 'Log a list of failed projects when done building', it will log a list of failed projects in the workspace at the end of that step.

If you want to summarize across multiple steps, you could write a script function to parse the step's output and add any failed projects to a temporary macro value, call this function in each step's vbld_StepDone event, and then log the temporary macro value at the end of the build.