/VERBOSE (Print Progress Messages)

/VERBOSE[:{ICF|INCR|LIB|REF|SAFESEH|UNUSEDLIBS}]

Remarks

The linker sends information about the progress of the linking session to the Output window. On the command line, the information is sent to standard output and can be redirected to a file.

Option Description
/VERBOSE Displays details about the linking process.
/VERBOSE:ICF Display information about linker activity that results from the use of /OPT:ICF.
/VERBOSE:INCR Displays information about the incremental link process.
/VERBOSE:LIB Displays progress messages that indicate just the libraries searched.

The displayed information includes the library search process and lists each library and object name (with full path), the symbol being resolved from the library, and a list of objects that reference the symbol.
/VERBOSE:REF Displays information about linker activity that results from the use of /OPT:REF.
/VERBOSE:SAFESEH Displays information about modules that are not compatible with safe exception handling when /SAFESEH is not specified.
/VERBOSE:UNUSEDLIBS Displays information about any library files that are unused when the image is created.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.

  2. Expand the Linker folder.

  3. Select the Command Line property page.

  4. Add the option to the Additional Options box.

To set this linker option programmatically

See also

MSVC linker reference
MSVC Linker Options