Skip to content

Commit b3912c0

Browse files
authored
max_cpu_count (#3926)
1 parent 49c0228 commit b3912c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/tools/cmake/cmake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The ``CMake()`` build helper is affected by these ``[conf]`` variables:
6161
- ``tools.build:jobs`` argument for the ``--jobs`` parameter when running Ninja generator.
6262

6363
- ``tools.microsoft.msbuild:max_cpu_count`` argument for the ``/m`` (``/maxCpuCount``) when running
64-
``MSBuild``
64+
``MSBuild``. If ``max_cpu_count=0``, then it will use ``/m`` without arguments, which means use all available cpus.
6565

6666
- ``tools.cmake:cmake_program`` specify the location of the CMake executable, instead of using the one found in the ``PATH``.
6767

reference/tools/microsoft/msbuild.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ conf
7272
- ``tools.build:verbosity`` accepts one of ``quiet`` or ``verbose`` to be passed
7373
to the ``MSBuild.build()`` call as ``msbuild .... /verbosity:{Quiet,Detailed}``.
7474
- ``tools.microsoft.msbuild:max_cpu_count`` maximum number of CPUs to be passed to the ``MSBuild.build()``
75-
call as ``msbuild .... /m:N``.
75+
call as ``msbuild .... /m:N``. If ``max_cpu_count=0``, then it will use ``/m`` without arguments, which means use all available cpus.
7676

7777

7878

0 commit comments

Comments
 (0)