summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorRobert Dailey <rcdailey@gmail.com>2015-02-15 19:17:54 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-17 15:03:10 (GMT)
commit2b958a20275c1c73aee745c29ecf4d2de1377f7b (patch)
treef5acc4711da7ed70f28a65bcc84ef1af71dcda6c /Source/cmGlobalNinjaGenerator.h
parent30b0db7bb5482258ccdb96d2f0b7aadb5d3b23ac (diff)
downloadCMake-2b958a20275c1c73aee745c29ecf4d2de1377f7b.zip
CMake-2b958a20275c1c73aee745c29ecf4d2de1377f7b.tar.gz
CMake-2b958a20275c1c73aee745c29ecf4d2de1377f7b.tar.bz2
cmake-gui: Add option to specify generator toolset
The -T parameter to CMake may now be specified through cmake-gui via a new text field in the first-time configure wizard (below the generator chooser). The generator factories specify whether or not they support toolsets. This information is propagated to the Qt code and used to determine if the selected generator should also display the optional Toolset widgets.
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 46bd588..c494d36 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -74,6 +74,12 @@ public:
static void WriteComment(std::ostream& os, const std::string& comment);
/**
+ * Utilized by the generator factory to determine if this generator
+ * supports toolsets.
+ */
+ static bool SupportsToolset() { 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.