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.
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
Build number sounds like an outdated concept. What's wrong with version control systems?
Absolutely nothing wrong with VCS. In fact this is specifically help with that.
The build number as I intend it is to allow builds to be tied to a known state in version control. Whether this is by including the changeset in the build number or labelling the version control with a build number I've not settled on.
Stephen