diff options
author | Julien Jomier <julien.jomier@kitware.com> | 2019-01-04 11:41:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-18 17:41:35 (GMT) |
commit | 48ec0bc1401b99e5a2d07392fb98f96d5fec9e50 (patch) | |
tree | 81d9548d57db659099cade2ab918becb06b9c84d /Source/QtDialog/QCMake.h | |
parent | 8bba458ea5d6b792e165560d79efd8d8356f4329 (diff) | |
download | CMake-48ec0bc1401b99e5a2d07392fb98f96d5fec9e50.zip CMake-48ec0bc1401b99e5a2d07392fb98f96d5fec9e50.tar.gz CMake-48ec0bc1401b99e5a2d07392fb98f96d5fec9e50.tar.bz2 |
cmake-gui: Add field for generator platform selection
Extend the "first configure" dialog with a field for the user to select
a value for `CMAKE_GENERATOR_PLATFORM`.
Fixes: #17343
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r-- | Source/QtDialog/QCMake.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h index 4b3920a..c84da58 100644 --- a/Source/QtDialog/QCMake.h +++ b/Source/QtDialog/QCMake.h @@ -75,6 +75,8 @@ public slots: /// set the desired generator to use void setGenerator(const QString& generator); /// set the desired generator to use + void setPlatform(const QString& platform); + /// set the desired generator to use void setToolset(const QString& toolset); /// do the configure step void configure(); @@ -155,6 +157,8 @@ signals: void debugOutputChanged(bool); /// signal when the toolset changes void toolsetChanged(const QString& toolset); + /// signal when the platform changes + void platformChanged(const QString& platform); /// signal when open is done void openDone(bool successful); /// signal when open is done @@ -175,6 +179,7 @@ protected: QString SourceDirectory; QString BinaryDirectory; QString Generator; + QString Platform; QString Toolset; std::vector<cmake::GeneratorInfo> AvailableGenerators; QString CMakeExecutable; |