Maybe you want to take a look at the documentation.
The linker directive which will create a .map file is just,
/MAP[:filename]
and..
filename: A user-specified name for the mapfile. It replaces the default name.
found under https://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx
This linker directive should be what you were looking for :).
Or better to be found under
- Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
- Click the Linker folder.
- Click the Debug property page.
- Modify the Generate Map File property.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…