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

Command-line build does not set ERRORLEVEL

Hello,

I am trying to integrate an ARM uVision 5.12 program into my build integration server, so I need to run an automatic build from the command-line. I have used the "UV4 -b -j0" command and it works, but not as I expected.

- The command exits immediately after launching the build (looks like it spawns a new process). %ERROLEVEL% is set to 0 regardless of whether the build is sucessful or not. This does not comply with what is described in: http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm

- It does not output anything to stdout (though I can dump it to a file with the "-o" option).

So basically I have no means of automatically detecting when a build is finished and whether it has succeeded or not.

I have also tried to use the Create Makefile option. The created makefile works fine, but it uses intermediate files as inputs (such as .__i files). These files can only be created by compiling from the IDE, which prevents me from automating a clean build again.

Any help on this?

Thanks in advance,

Eduardo

0