From Get docs
Cmake/docs/3.21/envvar/cmake build parallel level


New in version 3.12.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Specifies the maximum number of concurrent processes to use when building using the cmake --build command line Build Tool Mode.

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

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.