CMake: Report whether generators support platforms

This commit is contained in:
Tobias Hunger
2016-07-11 15:44:37 +02:00
committed by Brad King
parent 43a68a6dca
commit 4db08807db
14 changed files with 40 additions and 0 deletions

View File

@@ -51,6 +51,12 @@ public:
*/
static bool SupportsToolset() { return false; }
/**
* Utilized by the generator factory to determine if this generator
* supports platforms.
*/
static bool SupportsPlatform() { return false; }
/**
* Try to determine system information such as shared library
* extension, pthreads, byte order etc.