During a Compile of a large Delphi project, our compile times are getting longer and longer. Primarily the delay is the pre-compile step of RemObjects creating the interface files out of the RODL.
It seems that the process of parsing the RODL is taking a fair amount of time. The resulting MainLibrary_Intf file is 123,000 lines long. (15,000 line RODL).
Part of the problem seems to be that if the RODL has not changed, the Interface is still generated. VERY annoying when you make one little change to a .pas file and it has to take several minutes to compile.
Is there a way to get the Pre-compiler to check the RODL Modified date agsint the interface file before it trys to regenerate it? Is there a way to manually stop the Interface from being parsed on compile in the interim?
Thank you, answer accepted. A nice to have feature would of course be some sort of evaluation by RemObjects to check if a new parse of the RODL is required, but we are perfectly capable of manually triggering interface generation with this method.
check if a new parse of the RODL in general is quit complex task because RODL can reference to another RODL’s and so on. Actually RODL isn’t changed frequently because it declares interfaces and types so in real life generation of sources can be turned-off in the beginning of development.