Everything
2.2.2 Running parallel build

Parallel build is a facility to build multiple source files in parallel at build in order to reduce the build time.

In parallel build, since build is performed simultaneously for the number of logical CPUs in the host machine, the effect is greater in a machine with a large number of CPU cores.

 

There are two types of parallel build facilities. Each processing and its setting method are given below.

(1)

Parallel build between source files

When running parallel build between multiple source files registered in a project, make the setting in the [Build in parallel] property in the [Common Options] tab on the Property panel.

Figure 2.2

[Build in parallel] Property

Remark

Another facility to speed up build is simultaneous build.
Simultaneous build is a facility to process the build command for multiple source files at once, and specifying it simultaneously with parallel build has no effect due to its nature. Generally, the more CPU cores there are in the host machine in use or the more source files there are registered in a project, parallel build is faster than simultaneous build.
However, as there are properties that need to be used together with simultaneous build, such as inter-module optimization, use the suitable facility for the situation.
See "2.2.1 Running simultaneous build" for details about simultaneous build.

(2)

Parallel build between projects

When running parallel build between the main project and subprojects, make the setting in [Enable parallel build among projects] of the [General - Build] category of the Option dialog box.

Figure 2.3

Option Dialog Box ([General - Build] Category)

 

In addition, select [Yes] in the [Build in parallel] property in the [Common Options] tab on the Property panel.

Remark

When there are dependencies between projects, set the dependencies between the projects correctly before using the parallel build facility. If a parallel build is performed for the main project and subprojects without the dependencies being set, build is performed in parallel regardless of the build order of the projects.
For details on setting the dependencies between projects, see "CS+ Project Operation".