Merge branch 'doc/eclipse_parallel_build_v31' into 'release/v3.1'

docs: Add parallel builds to Eclipse setup (backport v3.1)

See merge request idf/esp-idf!3219
This commit is contained in:
Angus Gratton
2018-09-13 15:36:35 +08:00
4 changed files with 21 additions and 1 deletions

View File

@ -67,6 +67,12 @@ Navigate to "C/C++ General" -> "Indexer" property page:
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories. * Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
Navigate to "C/C++ Build" -> "Behavior" property page:
* Check "Enable parallel build" to enable multiple build jobs in parallel.
* Setting the number of jobs slightly higher than the "optimal" may give the absolute fastest builds under Windows, depending on the specific hardware being used.
Building in Eclipse Building in Eclipse
------------------- -------------------

View File

@ -69,6 +69,10 @@ Navigate to "C/C++ General" -> "Indexer" property page:
* Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories. * Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories.
Navigate to "C/C++ Build" -> "Behavior" property page:
* Check "Enable parallel build" to enable multiple build jobs in parallel.
.. _eclipse-build-project: .. _eclipse-build-project:
Building in Eclipse Building in Eclipse

View File

@ -71,6 +71,12 @@ Windows 平台上的 Eclipse 配置
取消选中 “Allow heuristic resolution of includes”。因为启用此选项时有时会导致 Eclipse 无法找到正确的头文件目录。 取消选中 “Allow heuristic resolution of includes”。因为启用此选项时有时会导致 Eclipse 无法找到正确的头文件目录。
点击 “C/C++ Build” -> “Behavior” 属性页。
* 选中 “Enable parallel build” 以启用多任务并行构建。
* 将作业数设置为略高于“最佳”的推荐值,能够使得在 Windows 下的构建速度达到最快,不过这还要取决于您具体使用的硬件的配置。
在 Eclipse IDE 中创建项目 在 Eclipse IDE 中创建项目
--------------------------- ---------------------------

View File

@ -75,6 +75,10 @@ Windows 用户
取消选中 “Allow heuristic resolution of includes”。因为启用此选项时有时会导致 Eclipse 无法找到正确的头文件目录。 取消选中 “Allow heuristic resolution of includes”。因为启用此选项时有时会导致 Eclipse 无法找到正确的头文件目录。
点击 “C/C++ Build” -> “Behavior” 属性页。
* 选中 “Enable parallel build” 以启用多任务并行构建。
.. _eclipse-build-project: .. _eclipse-build-project:
在 Eclipse IDE 中创建项目 在 Eclipse IDE 中创建项目
@ -118,4 +122,4 @@ Windows 用户
eclipse-setup-windows eclipse-setup-windows
.. _eclipse.org: https://www.eclipse.org/ .. _eclipse.org: https://www.eclipse.org/