We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm building my project via the command line using something like this:
"C:\Program Files\Keil\UV4\Uv4.exe" -b ".\myProj.uvproj"
The problem is that this command does not send anything to the stdout. The only option I see is to output the results to a file, using the -o option. Is there any way of just showing the results in the same command prompt window without resorting to some ugly hack?
Also, is there any way to perform a clean on a project via the command line?
I misunderstood what the "*.__i" files are. They are compiler line inputs for each source file. I've never seen that arrangement for a build process. Quite unconventional. I thought they were some sort of intermediate file. My bad.
The batch file system does not return a non-zero value on error. As Per Westermark mentioned, one must write a tool that parses the "*.bat" files and generate new files (Ant XML, Makefile, etc.) so that return codes are checked, at a minimum. More complete would be to parse the "*.d", "*.__i", "*._ia", "*.lnp", and "*.bat" files into new build scripts (for the build tool of your choice.)