|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
/link (Pass Options to Linker)
Passes one or more linker options to the linker.
The /link option and its linker options must appear after any file names and CL options. A space is required between /link and linkeroptions. For more information, see Setting Linker Options.
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
Click the Linker folder.
Click a linker property page.
Modify one or more properties.
To set this compiler option programmatically
This compiler option cannot be changed programmatically.