CMAKE_BUILD_PARALLEL_LEVEL.rst 573 B

1234567891011121314151617
  1. CMAKE_BUILD_PARALLEL_LEVEL
  2. --------------------------
  3. .. versionadded:: 3.12
  4. .. include:: ENV_VAR.txt
  5. Specifies the maximum number of concurrent processes to use when building
  6. using the ``cmake --build`` command line
  7. :ref:`Build Tool Mode <Build Tool Mode>`.
  8. For example, if ``CMAKE_BUILD_PARALLEL_LEVEL`` is set to 8, the
  9. underlying build tool will execute up to 8 jobs concurrently as if
  10. ``cmake --build`` were invoked with the
  11. :option:`--parallel 8 <cmake--build --parallel>` option.
  12. If this variable is defined empty the native build tool's default number is
  13. used.