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
Post a Comment