https://github.com/Kitware/CMake
Raw File
Tip revision: 965acca98c1f8b3c511589a4a455df2b12bc2b8e authored by Brad King on 04 March 2024, 18:58:26 UTC
CMake 3.29.0-rc3
Tip revision: 965acca
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