how to get a list of all needed files for a delphi Project?
the files are in different directories, because some are used in different projects and must be transfered to a third party (ESCROW), but only the needed files shall be transferred and no others.
I tried in a batch "dcc32.exe --depends ..." and the file project1.d is generated. that would help.
But if I add this option to dcc32.cfg, nothing happens (cfg-File seems not to be used). Then I tried to rename dcc32.exe to dcc32.orig.exe and made an own dcc32.exe as an caller and put it into the Delphi-bin-Directory. (it makes a new command string from given ParamStrs(..), adds '--depends' and executs scc32.orig.exe). Nothing happend.
Next, I commented out all lines in my own dcc32.exe so it does nothing (simple "begin end"), but wondering ... the project1.exe will still be compiled in the IDE (!!!) - I'm very confused about that. Then I deleted my dcc32.exe and Delphi compile process says "...\bin\dcc32.exe not found.
It looks like as if Delphi would just search für the binary, but compiling with some other.
Is there any expert who knows, how the switch "--depends" can be added by default everytime Delphi compiles ?