summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 6d29dc1..aa54f69 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -156,7 +156,17 @@ public:
virtual bool InspectConfigTypeVariables() { return true; }
- virtual bool CheckCxxModuleSupport() { return false; }
+ enum class CxxModuleSupportQuery
+ {
+ // Support is expected at the call site.
+ Expected,
+ // The call site is querying for support and handles problems by itself.
+ Inspect,
+ };
+ virtual bool CheckCxxModuleSupport(CxxModuleSupportQuery /*query*/)
+ {
+ return false;
+ }
virtual bool IsGNUMakeJobServerAware() const { return false; }