Spec-Zone.ru › CMake

CMAKE_VS_NO_COMPILE_BATCHING

Added in version 3.24.

Turn off compile batching when using Visual Studio Generators.

This variable is used to initialize the 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.

set(CMAKE_VS_NO_COMPILE_BATCHING ON)
add_library(foo SHARED foo.cpp)

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_VS_NO_COMPILE_BATCHING.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API