Will the dcc32.exe compiler use the project assembly configuration file when invoked with the --no-config parameter?

Description of the problem:

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

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

Will this call use configuration files Project.dprojor Project.dof?

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

Background Problem:

I know that MSBuild should be used with Delphi 2007, but this is actually the reason why I ask. I found that InnoSetup is using this batch fileto create its projects, and I have serious problems connecting the JEDI JVCL library with it (this is a pure nightmare), so I would like to configure the project settings to use MSBuild, but I'm not sure which build settings are used in the above command line call.

+5
source share
1 answer

--no-config means that dcc32.cfg is not loaded either from the compiler’s executable directory or from the project directory.

Rules for using options specified in .dproj and .dof files are not affected. These options apply, and any command line options take precedence.

+4

All Articles