CMP0147.rst 839 B

1234567891011121314151617181920212223
  1. CMP0147
  2. -------
  3. .. versionadded:: 3.27
  4. :ref:`Visual Studio Generators` build custom commands in parallel.
  5. Visual Studio 15.8 (2017) and newer support building custom commands in
  6. parallel. CMake 3.27 and above prefer to enable this behavior by adding
  7. a ``BuildInParallel`` setting to custom commands in ``.vcxproj`` files.
  8. This policy provides compatibility for projects that have not been updated
  9. to expect this, e.g., because their custom commands were accidentally
  10. relying on serial execution by MSBuild.
  11. The ``OLD`` behavior for this policy is to not add ``BuildInParallel``.
  12. The ``NEW`` behavior for this policy is to add ``BuildInParallel`` for
  13. VS 15.8 and newer.
  14. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.27
  15. .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
  16. .. include:: STANDARD_ADVICE.txt
  17. .. include:: DEPRECATED.txt