Embarcadero C ++ Builder 2010 - 编译 [英] Embarcadero C++ Builder 2010 - Compilation

查看:393
本文介绍了Embarcadero C ++ Builder 2010 - 编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Embarcaedro C ++ Builder 2010几个星期,有一些关于编译过程的事情。



首先,任何人都知道防止C ++生成器重新编译没有编辑的每个源文件?
其次,为什么编译器编译的代码比项目真的包含更多的代码行?它可以增加编译时间!



我浏览网页没有饱和的答案。
我试过:




  • 保留对象文件

  • 禁用预编译的页眉


  • ul>

    我正在处理一个包含数千行代码的项目,所以编译过程需要很长时间才能完成。在某处可能有错误。

    解决方案

    这些文件是否包括已被修改的其他文件?...例如,如果你有一个通用的配置文件的所有项目和你修改它一切都编译然后。



    你试图包含一个新文件到项目,没有东西,编译?。



    Btw,如果我记得好了Alt + F9只是编译当前文件。



    最好的问候。

    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 ..

    解决方案

    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.

    这篇关于Embarcadero C ++ Builder 2010 - 编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆