https://github.com/Kitware/CMake
Raw File
Tip revision: dc45b20aca1323d8497ac08d202fe238727c7198 authored by Brad King on 22 February 2024, 14:40:22 UTC
CMake 3.29.0-rc2
Tip revision: dc45b20
CMAKE_BUILD_PARALLEL_LEVEL.rst
CMAKE_BUILD_PARALLEL_LEVEL
--------------------------

.. versionadded:: 3.12

.. include:: ENV_VAR.txt

Specifies the maximum number of concurrent processes to use when building
using the ``cmake --build`` command line
:ref:`Build Tool Mode <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
:option:`--parallel 8 <cmake--build --parallel>` option.

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