This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Output uv4 build messages to stdout

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?

Parents
  • 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.)

Reply
  • 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.)

Children
No data