Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: jiao on December 23, 2006, 06:21:32 pm

Title: Application Title and TurtoiseSVN Revision Number
Post by: jiao on December 23, 2006, 06:21:32 pm
Hi,

I have two questions. Is there a variable that can be used as the application title? For example, if I create a codeblocks project with title "Simple App," is there a way to do like TCHAR AppTitle APPLICATION_TITLE without having to write "Simple App"? I know this is trivial, but I like having my apps "centralized."

My second questions is how do I insert the revision number with codeblocks into my app? I use TortoiseSVN.
Title: Re: Application Title and TurtoiseSVN Revision Number
Post by: poiuytr on January 01, 2007, 01:01:08 am
My second questions is how do I insert the revision number with codeblocks into my app? I use TortoiseSVN.

You could use SubWCRev.exe utility bundled into tortoise svn.