Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Mindtraveller is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: German language added to Docking.t of bazar/Docking
Next Topic: Debug and Build U++ from existing code
Goto Forum:
  


Current Time: Sun Apr 27 22:16:38 CEST 2025

Total time taken to generate the page: 0.01757 seconds