summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioVersionedGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-28 16:29:41 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-12-01 13:33:43 (GMT)
commitfce359c5de6dbcdbc29835f4e77e02020fbd4874 (patch)
treea6fa9cc9659d47a4fb84dd0927dfe74282b57590 /Source/cmGlobalVisualStudioVersionedGenerator.h
parent5b16a0e5682b1020e75abe1c38595c4e9d0af23b (diff)
downloadCMake-fce359c5de6dbcdbc29835f4e77e02020fbd4874.zip
CMake-fce359c5de6dbcdbc29835f4e77e02020fbd4874.tar.gz
CMake-fce359c5de6dbcdbc29835f4e77e02020fbd4874.tar.bz2
cmGlobalVisualStudioVersionedGenerator: support dyndep in VS2022 and up
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.h b/Source/cmGlobalVisualStudioVersionedGenerator.h
index 2e573ec..39364c6 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.h
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.h
@@ -46,6 +46,11 @@ public:
const char* GetAndroidApplicationTypeRevision() const override;
+ bool SupportsCxxModuleDyndep() const override
+ {
+ return this->Version >= cmGlobalVisualStudioGenerator::VSVersion::VS17;
+ }
+
protected:
cmGlobalVisualStudioVersionedGenerator(
VSVersion version, cmake* cm, const std::string& name,