diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2021-06-29 02:27:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-29 14:37:16 (GMT) |
commit | 1db4d7462808e9af5e2a6de029943d51a521f52c (patch) | |
tree | 2a56f6324621e5804ad09c25d1f1fa6fca9261b1 /Source/cmGlobalCommonGenerator.h | |
parent | 61a737b088717201c331b83bd8794149e5d112e5 (diff) | |
download | CMake-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.h | 3 |
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; } }; |