mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 04:08:46 -06:00
Merge topic 'vs-compile-batching'
9a0a94fdaaVS: Add variable to to turn off Visual Studio compile batchinga7ebb73929Help: Improve formatting in VS_NO_COMPILE_BATCHING docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7405
This commit is contained in:
20
Help/variable/CMAKE_VS_NO_COMPILE_BATCHING.rst
Normal file
20
Help/variable/CMAKE_VS_NO_COMPILE_BATCHING.rst
Normal file
@@ -0,0 +1,20 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user