summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalCommonGenerator.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2021-06-29 02:27:07 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-29 14:37:16 (GMT)
commit1db4d7462808e9af5e2a6de029943d51a521f52c (patch)
tree2a56f6324621e5804ad09c25d1f1fa6fca9261b1 /Source/cmGlobalCommonGenerator.h
parent61a737b088717201c331b83bd8794149e5d112e5 (diff)
downloadCMake-1db4d7462808e9af5e2a6de029943d51a521f52c.zip
CMake-1db4d7462808e9af5e2a6de029943d51a521f52c.tar.gz
CMake-1db4d7462808e9af5e2a6de029943d51a521f52c.tar.bz2
cmGlobalCommonGenerator: Add SupportsDirectConsole
Default to `true` since this is used by Makefile generators. The Ninja generator already overrides it to use a version check.
Diffstat (limited to 'Source/cmGlobalCommonGenerator.h')
-rw-r--r--Source/cmGlobalCommonGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalCommonGenerator.h b/Source/cmGlobalCommonGenerator.h
index 2aa9d27..21cfd11 100644
--- a/Source/cmGlobalCommonGenerator.h
+++ b/Source/cmGlobalCommonGenerator.h
@@ -42,4 +42,7 @@ public:
std::map<std::string, DirectoryTarget> ComputeDirectoryTargets() const;
bool IsExcludedFromAllInConfig(const DirectoryTarget::Target& t,
const std::string& config);
+
+protected:
+ virtual bool SupportsDirectConsole() const { return true; }
};