Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 825
Bartek Avatar asked Oct 07 '15 11:10

Bartek


1 Answers

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.

like image 62
Ondrej Kelle Avatar answered Oct 14 '22 05:10

Ondrej Kelle