Specifies the name for an object file.
Windows: Output Files > Object File Name
Linux: None
Mac OS X: None
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
None |
Windows: |
/object:file |
file |
Is the name for the object file. It can be a file or directory name. |
OFF |
An object file has the same name as the name of the first source file and a file extension of .obj. |
This option specifies the name for an object file.
If you specify this option and you omit /c or /compile-only, the /object option gives the object file its name.
On Linux and Mac OS X systems, this option is equivalent to specifying option -ofile -c.
Linux and Mac OS X: None
Windows: /Fo