Delphi: How to organize source code to increase compiler performance?

前端 未结 14 2191
一整个雨季
一整个雨季 2020-12-13 13:14

I\'m working on a large delphi 6 project with quite a lot of dependancies. It takes several minutes to compile the whole project. The recompilation after a few changes is so

14条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 13:57

    Some things that could slow down the compiler

    • Redundant units in your uses clause. See this question for a link to CnPack.
    • Not explicitly adding units to your project file. You've already seem to have covered that.
    • Changed compiler settings, most notably include TDD32 info.

    Try to get rid of unused units in your uses clause and see if it makes a difference.

提交回复
热议问题