How can I make Visual Studio's build be very verbose?

后端 未结 5 2135
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 11:57

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, b

相关标签:
5条回答
  • 2020-11-27 12:38

    If you're running MSBuild, you can set the /v:diag flag.

    0 讨论(0)
  • 2020-11-27 12:53

    Menu ToolsOptionsProjects and SolutionsBuild and RunMSBuild project build output verbosity: Diagnostic

    0 讨论(0)
  • 2020-11-27 12:54

    Visual Studio 2008:

    Go to menu ToolsOptions then Project and SolutionsBuild and Run section. You have a combo box for verbosity.

    C++ compiler option (project properties):

    • Preprocessor - Generate Preprocessed File for seeing the translation unit as generated by preprocessor
    • Advanced - Show includes - display included file names at compiler output
    0 讨论(0)
  • 2020-11-27 12:57
    1. Open the project properties dialog, then choose

      Configuration PropertiesC/C++General

    2. Change the setting for Suppress Startup Banner to No

    3. The cl command line(s) will be shown in the output window.

    0 讨论(0)
  • 2020-11-27 13:03

    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.

    0 讨论(0)
提交回复
热议问题