Embarcadero C++ Builder 2010 - Compilation

家住魔仙堡 提交于 2019-12-13 07:05:45

问题


I am using Embarcaedro C++ Builder 2010 for a few weeks and there are somethings strage about the compilation process..

First, does anybody know a trick to prevent C++ Builder from re-compiling every source file that have'nt been edited ? Second, why is the compiler compiling more lines of code than the project really contains ? It awefully increases the compilation time !

I browsed the web without satifying answers. I tried :

  • to keep object files
  • to disable pre-compiled headers
  • organising the includes (headers and libs) from the most to the less used
  • ...

I am working on a project that contains thousands of lines of code so the compilation process takes a long time to complete.. There might be something wrong somewhere ..


回答1:


do those files include other files that have been modified?... for example if you have a common config file for all the project and you modify it everything is compiled then.

Did you try to include a new file to the project with not stuff at all and compile?.

Btw, if I remeber well Alt+F9 just compile the current file.

Best regards.



来源:https://stackoverflow.com/questions/15294688/embarcadero-c-builder-2010-compilation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!