• 编译大型工程的时间很大程度上取决于头文件的数量和深度。【The time it takes to compile a large project can depend greatly on the number and depth of #include files .】
  • 使用并行编译
  • 使用分布式编译:Incredibuild
  • 尽量使用前置声明【Forward declarations are a common solution】
  • 将代码从头文件称至CPP文件【Pushing code from headers down into source files can work.】
  • 使用预编译头文件

相关文章:

  • 2021-08-15
  • 2021-11-14
  • 2022-01-04
  • 2022-12-23
  • 2021-05-22
  • 2021-05-07
  • 2021-09-10
猜你喜欢
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-08-30
相关资源
相似解决方案