6

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.

Johan
  • 74,508
  • 24
  • 191
  • 319
Bartek
  • 169
  • 9

1 Answers1

5

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.

Community
  • 1
  • 1
Ondrej Kelle
  • 36,941
  • 2
  • 65
  • 128
  • 2
    Wouldn't it be better to take a copy of the targets file and pass that explicitly to msbuild? However that might be done. Modifying files in install dir is dubious surely. – David Heffernan Oct 07 '15 at 12:22