Is there a way to disable silent mode in DCC32 called MSBuild?

By default, the DCC32 compiler is invoked using the -Q switch, which enables silent mode. Is there a way to disable this switch in a .dproj file or command line option?

I use msbuild to automate the build in my Delphi project. Unfortunately, I cannot find links to DCC32 parameters when it is executed by MSBuild. Usually, I first change the compiler option in the Delphi IDE, and then check what has been changed in the project file. However, this approach will not work for silent mode, since I cannot find this option in the IDE.

+5
source share
1 answer

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

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

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

+5
source

Source: https://habr.com/ru/post/1233144/


All Articles