summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-22 15:52:27 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-22 16:07:03 (GMT)
commit9a0a94fdaaa04474ff37cb2896cda640d8013b43 (patch)
tree8d3ec7008317915b8838e26baba841e6fb30f1e8 /Source/cmTarget.cxx
parenta7ebb73929cacecb782bc95a588c37acde1c7185 (diff)
downloadCMake-9a0a94fdaaa04474ff37cb2896cda640d8013b43.zip
CMake-9a0a94fdaaa04474ff37cb2896cda640d8013b43.tar.gz
CMake-9a0a94fdaaa04474ff37cb2896cda640d8013b43.tar.bz2
VS: Add variable to to turn off Visual Studio compile batching
Extend the change from commit b764c7c273 (VS: Add property to turn off Visual Studio compile batching, 2022-02-07, v3.24.0-rc1~710^2) by adding a variable to initialize the property on every target. Issue: #23179 Fixes: #23639
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 83dc1c2..a8cd619 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -583,6 +583,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
initProp("Swift_LANGUAGE_VERSION");
initProp("Swift_MODULE_DIRECTORY");
initProp("VS_JUST_MY_CODE_DEBUGGING");
+ initProp("VS_NO_COMPILE_BATCHING");
initProp("DISABLE_PRECOMPILE_HEADERS");
initProp("UNITY_BUILD");
initProp("UNITY_BUILD_UNIQUE_ID");