Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will the dcc32.exe compiler use project build configuration file when is called with --no-config parameter?

Problem description:

Consider the following command line call (called for Delphi 2009 compiler):

dcc32.exe --no-config --peflags:1 Project.dpr

Will this call use the Project.dproj or Project.dof configuration files ?

  • If yes, will the command line options take precedence over the configuration file(s) ?
  • If not, where the build configuration will be taken from if the dcc32.cfg file is not loaded in this case ?

Problem background:

I know that MSBuild should be used since Delphi 2007 but in fact, it's the reason why I'm asking. I found that InnoSetup uses this batch file for building its projects and I have serious problems to link the JEDI JVCL library to it (it's a pure nightmare). So I'd like to configure the project settings to use MSBuild, but I'm not sure what build settings are used in the above command line call.

like image 949
TLama Avatar asked Jul 10 '12 11:07

TLama


1 Answers

--no-config means that dcc32.cfg is not loaded, neither from the compiler executable directory, nor from the project directory.

The rules for applying options specified in .dproj and .dof files are not affected. Those options are applied and any command line options take precedence.

like image 149
David Heffernan Avatar answered Oct 07 '22 06:10

David Heffernan