c - Update FILEVERSION in resource file at build -


i have unmanaged program (fortran) i'm adding version.rc resource file include version information. there way update last number of version information @ build time random number generated @ each build? example.

fileversion = <major>,<minor>,<rev>,<build_hash> 

where updated @ each build , others input.

this question similar programmatically updating fileversion in mfc app w/svn revision number except not svn number.

as @hans suggested above. best approach add pre-build event in visual studio runs script (perl in case) reach *.rc file , change random number.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -