Reputation: 96957
I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild
, but I wasn't able.
What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine.
Upvotes: 141
Views: 135264
Reputation: 1740
Open the project properties dialog, then choose
Configuration Properties → C/C++ → General
Change the setting for Suppress Startup Banner
to No
The cl
command line(s) will be shown in the output window.
Upvotes: 73
Reputation: 14327
Visual Studio 2008:
Go to menu Tools → Options then Project and Solutions → Build and Run section. You have a combo box for verbosity.
C++ compiler option (project properties):
Upvotes: 72
Reputation: 99999
Menu Tools → Options → Projects and Solutions → Build and Run → MSBuild project build output verbosity: Diagnostic
Upvotes: 227
Reputation: 2524
In Visual Studio go to your project and right click on it and select properties. In Linker there is a command line option. There you have all the options and you can add your custom ones. Add /VERBOSE
and when linking Visual Studio will show a lot more information.
Upvotes: 5