summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-23 20:21:59 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-23 22:31:31 (GMT)
commit5e026739e10f4cf5241f27fb9ba6721edb854018 (patch)
tree9d7ef765c1ad70d2957d159962bba3b23de835bf /Source/cmGlobalNinjaGenerator.h
parent9b9a42166803e864a8b08c22cadfe8db447acb40 (diff)
downloadCMake-5e026739e10f4cf5241f27fb9ba6721edb854018.zip
CMake-5e026739e10f4cf5241f27fb9ba6721edb854018.tar.gz
CMake-5e026739e10f4cf5241f27fb9ba6721edb854018.tar.bz2
cmGlobalGenerator: factor out C++ module support checking
This will simplify adding support to other generators.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 1628349..6f654f6 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -469,7 +469,7 @@ public:
bool IsSingleConfigUtility(cmGeneratorTarget const* target) const;
- bool CheckCxxModuleSupport();
+ bool CheckCxxModuleSupport() override;
protected:
void Generate() override;
@@ -592,7 +592,7 @@ private:
codecvt::Encoding NinjaExpectedEncoding = codecvt::None;
- bool DiagnosedCxxModuleSupport = false;
+ bool DiagnosedCxxModuleNinjaSupport = false;
void InitOutputPathPrefix();