summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-11 13:44:37 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-14 14:35:58 (GMT)
commit4db08807db2fc0db6ab0c4d438ddb3f20969d2fb (patch)
tree1ad4e9fa5d75b702f8e5ec236cca720978d64053 /Source/cmGlobalNinjaGenerator.h
parent43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688 (diff)
downloadCMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.zip
CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.gz
CMake-4db08807db2fc0db6ab0c4d438ddb3f20969d2fb.tar.bz2
CMake: Report whether generators support platforms
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 69ec6ca..c74973e 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -81,6 +81,12 @@ public:
static bool SupportsToolset() { return false; }
/**
+ * Utilized by the generator factory to determine if this generator
+ * supports platforms.
+ */
+ static bool SupportsPlatform() { return false; }
+
+ /**
* Write a build statement to @a os with the @a comment using
* the @a rule the list of @a outputs files and inputs.
* It also writes the variables bound to this build statement.