Szerkesztés

Megosztás a következőn keresztül:


/LTCGOUT (Name LTCG incremental object file)

The /LTCGOUT linker option tells the linker where to put the intermediate .iobj object file for incremental link-time code generation (/LTCG:INCREMENTAL).

Syntax

/LTCGOUT:[pathname]

Arguments

pathname
The optional destination directory and filename for the generated .iobj file. If the /LTCGOUT option isn't specified when /LTCG:INCREMENTAL is used, the filename is created by appending .iobj to the target base filename. If the /LTCGOUT option is specified with an empty pathname when /LTCG:INCREMENTAL isn't used, no .iobj file is generated.

Remarks

The /LTCGOUT linker option tells the linker the path and filename to use for the intermediate .iobj object file when you specify /LTCG:INCREMENTAL. If you remove the /LTCG:INCREMENTAL option from your project, you should also remove any /LTCGOUT option.

To set this compiler option in the Visual Studio development environment

  1. Open the project Property Pages dialog box. For more information, see Set compiler and build properties.

  2. Select the Configuration Properties > Linker > Optimization property page.

  3. Modify the Link Time Code Generation Object File property. The option isn't set if this property is empty.

To set this compiler option programmatically

See also

MSVC linker reference
MSVC linker options