/OUT (Output File Name)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

/OUT (Output File Name)

/OUT:filename

where:

filename
A user-specified name for the output file. It replaces the default name.

Remarks

The /OUT option overrides the default name and location of the program that the linker creates.

By default, the linker forms the file name using the base name of the first .obj file specified and the appropriate extension (.exe or .dll).

This option the default base name for a .mapfile or import library. For details, see Generate Mapfile (/MAP) and /IMPLIB.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the General property page.
  4. Modify the Output File property.

To set this linker option programmatically

See OutputFile Property.

See Also

Setting Linker Options | Linker Options

Show:
© 2016 Microsoft