NAME (C/C++)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at NAME (C/C++).

Specifies a name for the main output file.

NAME [application][BASE=address]  

An equivalent way to specify an output file name is with the /OUT linker option, and an equivalent way to set the base address is with the /BASE linker option. If both are specified, /OUT overrides NAME.

If you build a DLL, NAME will only affect the DLL name.

Rules for Module-Definition Statements

Show: