CMAKE_BUILD_PARALLEL_LEVEL

在 3.12 版被加入.

這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。

Specifies the maximum number of concurrent processes to use when building using the cmake --build command line Build Tool Mode. For example, if CMAKE_BUILD_PARALLEL_LEVEL is set to 8, the underlying build tool will execute up to 8 jobs concurrently as if cmake --build were invoked with the --parallel 8 option.

If this variable is defined empty the native build tool's default number is used.