https://github.com/Kitware/CMake
Raw File
Tip revision: 8bcba75b1c12d69f0649e23173e3b19672b068e2 authored by Brad King on 14 July 2023, 15:03:52 UTC
CMake 3.27.0-rc5
Tip revision: 8bcba75
CMAKE_VS_NO_COMPILE_BATCHING.rst
CMAKE_VS_NO_COMPILE_BATCHING
----------------------------

.. versionadded:: 3.24

Turn off compile batching when using :ref:`Visual Studio Generators`.

This variable is used to initialize the :prop_tgt:`VS_NO_COMPILE_BATCHING`
property on all targets when they are created.  See that target property for
additional information.

Example
^^^^^^^

This shows setting the property for the target ``foo`` using the variable.

.. code-block:: cmake

  set(CMAKE_VS_NO_COMPILE_BATCHING ON)
  add_library(foo SHARED foo.cpp)
back to top