Is there a way to turn off the quiet mode in DCC32 called by MSBuild?

落花浮王杯 提交于 2020-01-03 09:47:10

问题


By default, the DCC32 compiler is called with the -Q switch that turns the quiet mode on. Is there a way to disable this switch in the .dproj file or by a command line parameter?

I use msbuild for the build automation in my Delphi project. Unfortunately I can't find any reference to the DCC32 parameters when it is executed by MSBuild. Usually I first change a compiler parameter in the Delphi IDE and then check what was changed in the project file. However, this approach won't work for the quiet mode as I can't find this option in the IDE.


回答1:


You can edit your $(BDS)\bin\CodeGear.Delphi.Targets (XML) file and change the value of the Quiet attribute of the DCC node to false:

<DCC DelphiCompile="$(_ProjectFiles)"
...
      Quiet="false"
...
/>

Update: The DCC MSBuild task is configured to suppress the verbose dcc32 output. See this answer on how to change it.



来源:https://stackoverflow.com/questions/32990937/is-there-a-way-to-turn-off-the-quiet-mode-in-dcc32-called-by-msbuild

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!