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 #23422 is a reply to message #23403] Sun, 18 October 2009 20:31 Go to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Fri, 16 October 2009 16:58

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.



Cron running where?

BTW, note that nightly builds HAVE this version stuff working. version.h is created before building.

In fact, it would not be that hard to add a simple script that updates version.h in svn after each commit. Maybe I am just too selfish there, demanding "actual" version of theide, not the last svn version.... Smile

Mirek
 
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: Tue Jul 08 01:14:22 CEST 2025

Total time taken to generate the page: 0.03431 seconds