Skip to content

Commit

Permalink
max_cpu_count (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded authored Dec 2, 2024
1 parent 49c0228 commit b3912c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reference/tools/cmake/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The ``CMake()`` build helper is affected by these ``[conf]`` variables:
- ``tools.build:jobs`` argument for the ``--jobs`` parameter when running Ninja generator.

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

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

Expand Down
2 changes: 1 addition & 1 deletion reference/tools/microsoft/msbuild.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ conf
- ``tools.build:verbosity`` accepts one of ``quiet`` or ``verbose`` to be passed
to the ``MSBuild.build()`` call as ``msbuild .... /verbosity:{Quiet,Detailed}``.
- ``tools.microsoft.msbuild:max_cpu_count`` maximum number of CPUs to be passed to the ``MSBuild.build()``
call as ``msbuild .... /m:N``.
call as ``msbuild .... /m:N``. If ``max_cpu_count=0``, then it will use ``/m`` without arguments, which means use all available cpus.



Expand Down

0 comments on commit b3912c0

Please sign in to comment.