Setting Linker Options
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Linker options can be set inside or outside of the development environment. The topic for each linker option discusses how it can be set in the development environment. See Linker Options for a complete list.
When you run LINK outside the development environment, you can specify input in one or more ways:
LINK first processes options specified in the LINK environment variable, followed by options in the order they are specified on the command line and in command files. If an option is repeated with different arguments, the last one processed takes precedence.
Options apply to the entire build; no options can be applied to specific input files.