Home » Developing U++ » U++ Developers corner » Generating version header file with SVN on server
Re: Generating version header file with SVN on server [message #23403 is a reply to message #23402] |
Fri, 16 October 2009 22:58   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
luzr wrote on Fri, 16 October 2009 23:35 | 1. The problem is "build from sources in theide". Something has to create that header. Should it be the build process or what?
If the build process, another problem is that the thing should be universal, working for your projects too. But in that case you have more than single repo and more than single version. Etc...
Mirek
|
1. I suppose it could be something like cron utility calling script which calls svnversion and generates .h-file.
2. If you want portable solution, you may use optional .rc file and rc.exe with /inc switch, which will autoincrement build number (TheIDE could do it automatically).
Specifically ide package could take build number from svnversion generated .h file and put it into .rc to make solution compatible (server generates .h, client copy just uses it; or if it is not present, just use autoincrement from build 0001).
[Updated on: Fri, 16 October 2009 23:02] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 27 22:16:38 CEST 2025
Total time taken to generate the page: 0.01757 seconds
|