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

Include build number in automated uv4 build

Hello

We have a uv4 project that I would like to be built using an automated build tool.

The simplest way given that we already have a working project is to call uv4 from the command line.

c:\keil\uv4\uv4.exe -b PROJECTNAME.uvproj -o BuildOutput.txt

This seems to work fine.

What I would now like to do is include an automatically generated build number in the build process. Searching on the forum I thought I had found a solution by having a define=environment variable in the C preprocessor symbols dialog. However it seems that uv4 does not read environment variables. I also cannot see a command line option that would help with this either.

Any suggestions? Do I need to convert to building using a makefile?

Thanks
Stephen

0