diff options
author | Robert Dailey <rcdailey@gmail.com> | 2015-02-15 19:17:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-17 15:03:10 (GMT) |
commit | 2b958a20275c1c73aee745c29ecf4d2de1377f7b (patch) | |
tree | f5acc4711da7ed70f28a65bcc84ef1af71dcda6c /Source/cmGlobalGhsMultiGenerator.h | |
parent | 30b0db7bb5482258ccdb96d2f0b7aadb5d3b23ac (diff) | |
download | CMake-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/cmGlobalGhsMultiGenerator.h')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index 480cd6a..6f86c5d 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -35,6 +35,7 @@ public: /// @return the name of this generator. static std::string GetActualName() { return "Green Hills MULTI"; } + ///! Get the name for this generator virtual std::string GetName() const { return this->GetActualName(); } @@ -42,6 +43,12 @@ public: static void GetDocumentation(cmDocumentationEntry &entry); /** + * Utilized by the generator factory to determine if this generator + * supports toolsets. + */ + static bool SupportsToolset() { return false; } + + /** * Try to determine system information such as shared library * extension, pthreads, byte order etc. */ |