/V   (Version Number)

OverviewHow Do ICompiler Options

Syntax

/Vstring

This option embeds a text string in the .OBJ file. This string can label an .OBJ file with a version number or a copyright notice. Any space or tab characters must be enclosed in double quotation marks (") if they are a part of the string. A backslash (\) must precede any double quotation marks if they are a part of the string. A space between /V and string is optional.

You can also use #pragma comment with the compiler comment-type argument to place the name and version number of the compiler in the .OBJ file.