Hi,
is there a straight forward way to have version information embedded in an executable? What I would like is to release a file and when the user does something like "program -v" they will be presented with the version information. The only way I can see just now to do it would be to parse the command line arguments looking for the -v option.
Is there any other ways of doing it - maybe by embedding something into the executable so that another command can help, such as 'file'?
Regards,
John.
is there a straight forward way to have version information embedded in an executable? What I would like is to release a file and when the user does something like "program -v" they will be presented with the version information. The only way I can see just now to do it would be to parse the command line arguments looking for the -v option.
Is there any other ways of doing it - maybe by embedding something into the executable so that another command can help, such as 'file'?
Regards,
John.
Comment