diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-07-11 13:44:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-14 14:35:58 (GMT) |
commit | 4db08807db2fc0db6ab0c4d438ddb3f20969d2fb (patch) | |
tree | 1ad4e9fa5d75b702f8e5ec236cca720978d64053 /Source/cmGlobalGeneratorFactory.h | |
parent | 43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688 (diff) | |
download | CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.zip CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.gz CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.bz2 |
CMake: Report whether generators support platforms
Diffstat (limited to 'Source/cmGlobalGeneratorFactory.h')
-rw-r--r-- | Source/cmGlobalGeneratorFactory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalGeneratorFactory.h b/Source/cmGlobalGeneratorFactory.h index 6787519..74d3145 100644 --- a/Source/cmGlobalGeneratorFactory.h +++ b/Source/cmGlobalGeneratorFactory.h @@ -41,6 +41,9 @@ public: /** Determine whether or not this generator supports toolsets */ virtual bool SupportsToolset() const = 0; + + /** Determine whether or not this generator supports platforms */ + virtual bool SupportsPlatform() const = 0; }; template <class T> @@ -71,6 +74,9 @@ public: /** Determine whether or not this generator supports toolsets */ bool SupportsToolset() const CM_OVERRIDE { return T::SupportsToolset(); } + + /** Determine whether or not this generator supports platforms */ + bool SupportsPlatform() const CM_OVERRIDE { return T::SupportsPlatform(); } }; #endif |