Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

/link (Pass Options to Linker)

Passes one or more linker options to the linker.

/link linkeroptions

linkeroptions

The linker option or options to be passed 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

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Click the Linker folder.

  3. Click a linker property page.

  4. Modify one or more properties.

To set this compiler option programmatically

  • This compiler option cannot be changed programmatically.

Show:
© 2015 Microsoft