I have an application which was started in Turbo Pascal 5 and is now at Delphi 7 (the roots of the project are over 20 years old). We are attempting to move this project to Delphi XE.
There is a unit which is being compiled into the exe which should not be compiled into this project at all. I have been unable to properly trace how it is entering into the compilation.
Is there a log or some other means that I can use to see the order of the units being compiled so that I can trace down this problem?
NOTE: I have already attempted to use the ICARUS tool to accomplish the trace without success.
EDIT: I'm sure that using brute force and enough time I can solve this issue. What I'm seeking is a more elegant solution if one is available.