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/FirstConfigure.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/FirstConfigure.h')
-rw-r--r-- | Source/QtDialog/FirstConfigure.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/QtDialog/FirstConfigure.h b/Source/QtDialog/FirstConfigure.h index abfa03f..133f422 100644 --- a/Source/QtDialog/FirstConfigure.h +++ b/Source/QtDialog/FirstConfigure.h @@ -35,6 +35,7 @@ public: void setCurrentGenerator(const QString& gen); QString getGenerator() const; QString getToolset() const; + QString getPlatform() const; bool defaultSetup() const; bool compilerSetup() const; @@ -56,10 +57,16 @@ protected: QFrame* ToolsetFrame; QLineEdit* Toolset; QLabel* ToolsetLabel; + QFrame* PlatformFrame; + QComboBox* PlatformOptions; + QLabel* PlatformLabel; QStringList GeneratorsSupportingToolset; + QStringList GeneratorsSupportingPlatform; + QMultiMap<QString, QString> GeneratorSupportedPlatforms; private: QFrame* CreateToolsetWidgets(); + QFrame* CreatePlatformWidgets(); }; //! the page that gives basic options for native compilers @@ -159,6 +166,7 @@ public: void setGenerators(std::vector<cmake::GeneratorInfo> const& gens); QString getGenerator() const; + QString getPlatform() const; QString getToolset() const; bool defaultSetup() const; |