ENH: Add cross compiling support in the GUI in the same dialog that prompts for
[cmake.git] / Source / QtDialog / CMakeFirstConfigure.h
blob2cb6220c08831af9b7b8e4ac9cbe113f245e0098
2 #ifndef CMakeFirstConfigure_h
3 #define CMakeFirstConfigure_h
5 #include <QDialog>
6 #include "ui_CMakeFirstConfigure.h"
8 class CMakeFirstConfigure : public QDialog
10 Q_OBJECT
11 public:
12 CMakeFirstConfigure();
13 ~CMakeFirstConfigure();
15 void setGenerators(const QStringList& gens);
16 QString getGenerator() const;
18 bool defaultSetup() const;
19 bool compilerSetup() const;
20 bool crossCompilerSetup() const;
21 QString crossCompilerToolChainFile() const;
23 QString getCCompiler() const;
24 QString getCXXCompiler() const;
25 QString getFortranCompiler() const;
27 QString getSystemName() const;
28 QString getSystemVersion() const;
29 QString getSystemProcessor() const;
31 QString getCrossRoot() const;
32 QString getCrossProgramMode() const;
33 QString getCrossLibraryMode() const;
34 QString getCrossIncludeMode() const;
36 void loadFromSettings();
37 void saveToSettings();
39 protected slots:
40 void updatePage();
41 void updateToolChainPage();
43 protected:
44 Ui::CMakeFirstConfigure UI;
47 #endif // CMakeFirstConfigure_h