Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 1.9 KB

setting-linker-options.md

File metadata and controls

58 lines (51 loc) · 1.9 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager translation.priority.ht
Setting Linker Options | Microsoft Docs
11/04/2016
visual-studio-dev14
devlang-cpp
article
C++
files [C++], LINK
input files [C++], linker
linker [C++], ways to set options
linker [C++], switches
input files [C++]
object/library modules
e08fb487-0f2e-4f24-87db-232dbc8bd2e2
7
corob-msft
corob
ghogen
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Setting Linker Options

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.

See Also

C/C++ Building Reference
Linker Options